Update 22.12.2020

RoccoZero

Active member
Staff member
Administrator
Developer
Apr 30, 2022
887
79
28
Update

  • Fixed Bugs
  • Added class OrderManager

  • GameManager
  • Removed Vector2 WorldToScreen(Vector3 position)

  • RendererManager
  • Added Vector2 WorldToScreen(Vector3 position)

OrderManager
  • Added event OrderAdding
  • Added bool CreateOrder(OrderId orderId, Unit unit, int targetIndex, uint abilityIndex, Vector3 position, bool queued, bool showEffects, bool bypassOrderAdding)
  • Added bool CreateOrder(OrderId orderId, IEnumerable<Unit> units, int targetIndex, uint abilityIndex, Vector3 position, bool queued, bool showEffects, bool bypassOrderAdding)
  • Added IEnumerable<Order> Orders
  • Added void ClearOrders()

Player
  • Removed IEnumerable<Order> Orders
  • Removed void ClearOrders()
  • Removed bool PrepareOrder(OrderId orderId, Unit unit, int targetIndex, uint abilityIndex, Vector3 position, bool queued, bool showEffects, bool bypassOrderAdding)
  • Removed bool PrepareOrder(OrderId orderId, IEnumerable<Unit> units, int targetIndex, uint abilityIndex, Vector3 position, bool queued, bool showEffects, bool bypassOrderAdding)