Beispiel #1
0
 public NextLevelEvent(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     end    = context.GetVars().Local.GetGameObjectByGUID(Guid.Parse(info.GetString("endGUID"))) as End;
     player = context.GetVars().Local.GetGameObjectByGUID(Guid.Parse(info.GetString("playerGUID"))) as Player;
 }
Beispiel #2
0
 public NextLevelEvent(End end, Player player)
 {
     this.end    = end;
     this.player = player;
 }