示例#1
0
 static public void AddDamageHandler(long GridID, BotBase.OnDamageTaken Handler)
 {
     DamageHandlers.Add(GridID, Handler);
 }
示例#2
0
 static public void AddDamageHandler(IMyCubeGrid Grid, BotBase.OnDamageTaken Handler)
 {
     AddDamageHandler(Grid.GetTopMostParent().EntityId, Handler);
 }
 public static void AddDamageHandler(long gridId, BotBase.OnDamageTaken handler)
 {
     DamageHandlers.Add(gridId, handler);
 }