array2d 1.4.0 copy "array2d: ^1.4.0" to clipboard
array2d: ^1.4.0 copied to clipboard

Array2d

A 2D array implementation tailored for game development.

Features #

  • [List key features, e.g., Efficient element access, Support for specific data types (int, float, etc.), Bounds checking for safety, Customizable size]

Usage #

void main(){
final array2d = Array2D<String>(10,10,valueBuilder: (x,y)=> "x:$x, y:$y");
print(array2d[0][0]);
print(array2d[9][9]);
array2d[9][9] = "new value";
print(array2d[9][9]);
}

1
likes
130
points
348
downloads

Publisher

unverified uploader

Weekly Downloads

Array2d

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

test

More

Packages that depend on array2d