public void SetMapData(MapGrid newMapGrid, MapSquare mapSquare, HackTarget newHackTarget) { mapGrid = newMapGrid; currentMapSquare = mapSquare; hackTarget = newHackTarget; trapType = mapSquare.GetTriggeredTrapType(); }
public void GetDataFromMapSquare(MapSquare newCurrentSquare) { mapSquare = newCurrentSquare; enemyId = GetEnemyIDFromMapSquare(newCurrentSquare); enemyLoaded = true; trapType = mapSquare.GetTriggeredTrapType(); trapAmount = mapSquare.GetTriggeredTrapAmount(); }
public void SetTriggeredTrapType(MapObject.TrapTypes newTrapType, int newTrapAmount) { triggeredTrapType = newTrapType; triggeredTrapAmount = newTrapAmount; }
public void SetTriggeredTrapType(MapObject.TrapTypes newTrapType) { triggeredTrapType = newTrapType; }