Class GridFactory
java.lang.Object
com.csse3200.game.entities.factories.GridFactory
This factory creates the grid and the tiles in the grid.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Entity
createTile
(float scale, float x, float y, AreaAPI area) Creates a tile entity
-
Method Details
-
createTile
Creates a tile entity- Parameters:
scale
- the scale for the size of the tilex
- the x value for the new tiley
- the y value for the new tile- Returns:
- the newly created tile
-