public void buildModules(UnitType t) { movement = new MovementModule(this); modules.Add(movement); if (t == UnitType.AFV) { transporter = new TransporterModule(this); modules.Add(transporter); } if (t == UnitType.Infantry) { transportable = new TransportableModule(this); modules.Add(transportable); } }
public void BuildModules(UnitType t) { Movement = new MovementModule(this); Modules.Add(Movement); if (t == UnitType.AFV) { Transporter = new TransporterModule(this); Modules.Add(Transporter); } if (t == UnitType.Infantry) { Transportable = new TransportableModule(this); Modules.Add(Transportable); } }
public void SetTransport(TransporterModule transport) { Waypoint.transporterWaypoint = transport.Waypoint; }
//public PlatoonBehaviour target; public TransporterWaypoint(PlatoonBehaviour p, TransporterModule m) : base(p) { module = m; }