示例#1
0
 public HackGameBoardEvent_SpawnPlayer(string typedatastring, HackGameBoardEventTrigger trigger)
     : base(HackGameBoardEvent_Type.HackGameBoardEvent_Type_SpawnPlayer, typedatastring, trigger)
 {
     location = TryParsePoint(typedatastring);
 }
示例#2
0
 public HackGameBoardEvent_ThrowText(string typedatastring, HackGameBoardEventTrigger trigger)
     : base(HackGameBoardEvent_Type.HackGameBoardEvent_Type_ThrowText, typedatastring, trigger)
 {
     textToThrow = typedatastring;
 }
示例#3
0
 public HackGameBoardEvent_SetSpeed(string typedatastring, HackGameBoardEventTrigger trigger)
     : base(HackGameBoardEvent_Type.HackGameBoardEvent_Type_SetSpeed, typedatastring, trigger)
 {
     speedFactor = float.Parse(typedatastring);
 }
示例#4
0
 public HackGameBoardEvent_SpawnAI(string typedatastring, HackGameBoardEventTrigger trigger)
     : base(HackGameBoardEvent_Type.HackGameBoardEvent_Type_SpawnAI, typedatastring, trigger)
 {
 }
示例#5
0
 public HackGameBoardEvent_RaiseAlertLevel(string typedatastring, HackGameBoardEventTrigger trigger)
     : base(HackGameBoardEvent_Type.HackGameBoardEvent_Type_RaiseAlertLevel, typedatastring, trigger)
 {
 }
示例#6
0
 public HackGameBoardEvent_OpenExit(string typedatastring, HackGameBoardEventTrigger trigger)
     : base(HackGameBoardEvent_Type.HackGameBoardEvent_Type_OpenExit, typedatastring, trigger)
 {
     location = TryParsePoint(typedatastring);
 }
示例#7
0
 public HackGameBoardEvent(HackGameBoardEvent_Type eventtype, string typedatastring, HackGameBoardEventTrigger eventtrigger)
 {
     type = eventtype; trigger = eventtrigger;
 }
示例#8
0
 public HackGameBoardEvent_CameraSnap(string typedatastring, HackGameBoardEventTrigger trigger)
     : base(HackGameBoardEvent_Type.HackGameBoardEvent_Type_CameraSnap, typedatastring, trigger)
 {
     Vector3 parsed = TryParseVector3(typedatastring);
     location.X = (int)parsed.X;
     location.Y = (int)parsed.Y;
     zoom = parsed.Z;
 }
示例#9
0
 public HackGameBoardEvent_BeginCollapse(string typedatastring, HackGameBoardEventTrigger trigger)
     : base(HackGameBoardEvent_Type.HackGameBoardEvent_Type_BeginCollapse, typedatastring, trigger)
 {
     timeToCollapse = TryParseTime(typedatastring);
 }