Methapolis
0.27
|
Static Public Member Functions | |
static short | codePlayerID (int tileValue, int playerID) |
static int | getPlayerID (char encodedTile) |
static int | getPlayerID (int encodedTile) |
static int | getPlayerID (short encodedTile) |
static Rectangle | moveRectangle (Rectangle rec, int dx, int dy) |
Definition at line 7 of file Utilities.java.
|
static |
Definition at line 12 of file Utilities.java.
References micropolisj.engine.TileConstants.LOMASK.
Referenced by micropolisj.engine.ToolPreview.setTile(), and micropolisj.engine.Micropolis.setTile().
|
static |
Definition at line 18 of file Utilities.java.
Referenced by micropolisj.util.Utilities.getPlayerID().
|
static |
Definition at line 22 of file Utilities.java.
References micropolisj.util.Utilities.getPlayerID().
|
static |
Definition at line 26 of file Utilities.java.
References micropolisj.engine.TileConstants.PWRBIT.
|
static |
Definition at line 33 of file Utilities.java.
Referenced by micropolisj.gui.MainWindow.dispatchKeyEvent().