public static void ChangeActiveShip(string shipId) { DeselectThisShip(); ThisShip = Roster.GetShipById(shipId); ThisShip.ToggleCollisionDetection(true); Roster.MarkShip(ThisShip, Color.green); ThisShip.HighlightThisSelected(); }
public static void ChangeActiveShip(string shipId) { DeselectThisShip(); ThisShip = Roster.GetShipById(shipId); ThisShip.ToggleCollisionDetection(true); Roster.MarkShip(ThisShip, Color.green); ThisShip.HighlightThisSelected(); if (Phases.CurrentSubPhase.GetType() == typeof(SubPhases.CombatSubPhase)) { Roster.HighlightShipsFiltered(Roster.AnotherPlayer(Phases.CurrentPhasePlayer)); } }
private static void DeselectShip(Ship.GenericShip ship) { ship.ToggleCollisionDetection(false); Roster.UnMarkShip(ship); ship.HighlightSelectedOff(); }
private static void ChangeActiveShipUsingThisShip() { ThisShip.ToggleCollisionDetection(true); Roster.MarkShip(ThisShip, Color.green); ThisShip.HighlightThisSelected(); }