Sha256: d0eafd7cd6bade9eee5777bf4f8eb26dc0332d40f1e260b5a93051d2dc22f474

Contents?: true

Size: 570 Bytes

Versions: 2

Compression:

Stored size: 570 Bytes

Contents

package game;

import GameMachine.Messages.GameMessage;
import akka.event.Logging;
import akka.event.LoggingAdapter;

import com.game_machine.core.Commands;
import com.game_machine.core.GameMessageActor;

public class MyGameActor extends GameMessageActor {
  public static String name = "my_game_actor";
  LoggingAdapter log = Logging.getLogger(getContext().system(), this);
  
  public void awake() {
    Commands.clientManagerRegister(name);
  }

  public void onGameMessage(GameMessage gameMessage) {

  }

  private void onPlayerDisconnect(String playerId) {

  }

}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
game_machine-1.0.4 java/src/main/java/game/MyGameActor.java
game_machine-1.0.2 java/src/main/java/game/MyGameActor.java