Kaynağa Gözat

feat: call GameState::setupGameState() from initialise event handler

rdh-local-prototype-endturn
Rob Hallam 9 ay önce
ebeveyn
işleme
d123fa9810
1 değiştirilmiş dosya ile 1 ekleme ve 9 silme
  1. +1
    -9
      app/events/Initalize.java

+ 1
- 9
app/events/Initalize.java Dosyayı Görüntüle

@@ -23,15 +23,7 @@ public class Initalize implements EventProcessor{
@Override
public void processEvent(ActorRef out, GameState gameState, JsonNode message) {
// hello this is a change
gameState.gameInitalised = true;
gameState.something = true;
// User 1 makes a change
//CommandDemo.executeDemo(out); // this executes the command demo, comment out this when implementing your solution
//Loaders_2024_Check.test(out);
gameState.setupGameState();
// start the turn demo
TurnDemo.executeDemo(out);


Yükleniyor…
İptal
Kaydet