diff options
Diffstat (limited to 'test-client')
| -rw-r--r-- | test-client/protocol.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test-client/protocol.ts b/test-client/protocol.ts index b4189510..3dfcc594 100644 --- a/test-client/protocol.ts +++ b/test-client/protocol.ts @@ -15,10 +15,10 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. */ -export type Vec2 = [number, number] // x, y (float) export type float = number export type int = number -export type IVec2 = [number, number] // x, y (integer) +export type Vec2 = [float, float] // x, y (float) +export type IVec2 = [int, int] // x, y (integer) export type PlayerID = int // opaque number to identify players. export type ItemIndex = int // index used primarily for item_names in Gamedata export type TileIndex = int // index used primarily for tile_names in Gamedata |