class Tile::Namespace
- Tile::Namespace
- SF::Transformable
- Reference
- Object
Included Modules
- SF::Drawable
Defined in:
tile/namespace.crtile/namespace/animator.cr
Constant Summary
-
OFFSET_STRIPS =
4
Constructors
-
.new(texture_path, map : Map, values : Values, viewport : SF::Window | SF::View)
For a given number of tiles, find the power of 2 that can contain at least two dimensions worth of tiles.
- .new(texture_path, map : Map, values : Values)
Instance Method Summary
Constructor Detail
For a given number of tiles, find the power of 2 that can contain at least two dimensions worth of tiles.