Example #1
0
 /// <summary>
 /// Constructor!
 /// </summary>
 public GameState(GameTick fromSequence, GameTick toSequence, List <EntityState> entities, List <PlayerState> players, List <EntityUid> deletions, GameStateMapData mapData)
 {
     FromSequence    = fromSequence;
     ToSequence      = toSequence;
     EntityStates    = entities;
     PlayerStates    = players;
     EntityDeletions = deletions;
     MapData         = mapData;
 }
Example #2
0
 /// <summary>
 /// Constructor!
 /// </summary>
 public GameState(GameTick fromSequence, GameTick toSequence, uint lastInput, EntityState[] entities, PlayerState[] players, EntityUid[] deletions, GameStateMapData mapData)
 {
     FromSequence       = fromSequence;
     ToSequence         = toSequence;
     LastProcessedInput = lastInput;
     EntityStates       = entities;
     PlayerStates       = players;
     EntityDeletions    = deletions;
     MapData            = mapData;
 }