+ Added core base for dew

This commit is contained in:
Matthew Cech
2019-09-11 14:28:18 -07:00
parent 7581dab87d
commit 2fd273c298
7 changed files with 67 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
package commands.dew.core.data;
import commands.dew.core.api.IDewLuaSerializable;
public final class DewMap implements IDewLuaSerializable<DewMap>
{
public int mapWidth = 20;
public int mapHeight = 20;
public DewMapTile[][] map;
}
@@ -0,0 +1,17 @@
package commands.dew.core.data;
public enum DewMapTile
{
Default(0), Tree(1);
private final int value;
private DewMapTile(int value)
{
this.value = value;
}
public int getValue()
{
return value;
}
}