fix: swap EntityID constructor parameters
This commit is contained in:
@ -17,7 +17,7 @@ class GameStateTest {
|
||||
GameState state = new GameState(new IntVector2(10, 10));
|
||||
|
||||
//set up game
|
||||
state.entities.addEntity(new Rock(new EntityID(0, EntityType.Rocks), new IntVector2(0, 0), 100));
|
||||
state.entities.addEntity(new Rock(new EntityID(EntityType.Rocks, 0), new IntVector2(0, 0), 100));
|
||||
|
||||
//snapshot state
|
||||
GameState snapshot = state.snapshot();
|
||||
|
Reference in New Issue
Block a user