Package model
Class Map
java.lang.Object
model.Map
- All Implemented Interfaces:
Serializable
Implementation of Map class.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Map
- Parameters:
name
- the name of the Maptiles
- the tile grid of the Map
-
Map
Copy constructor for Map class.- Parameters:
map
- the Map to copy
-
Map
public Map()Constructs a default Map instance if the Map file is not found.
-
-
Method Details
-
getName
Returns the Map instance's name.- Returns:
- the Map instance's name
-
getTiles
Returns the Map instance's tile grid.- Returns:
- the Map instance's tile grid
-