public abstract class GameEvent extends Object implements Serializable
Constructor and Description |
---|
GameEvent(MessageType id) |
Modifier and Type | Method and Description |
---|---|
void |
apply(GameState state)
Deprecated.
|
abstract void |
apply(GameState state,
int myPlayerID) |
MessageType |
getEvent() |
boolean |
isVisibleTo(int playerID) |
public GameEvent(MessageType id)
public abstract void apply(GameState state, int myPlayerID)
@Deprecated public void apply(GameState state)
public MessageType getEvent()
public boolean isVisibleTo(int playerID)
Copyright © 2017 FOSS Galaxy. All rights reserved.