public Application( IWebSocketCore webSocketCore, IConnectionService connectionService, ILoginSystem loginSystem, ICommandSystem commandSystem, IMovementSystem movementSystem, IChatSystem chatSystem, IStoreSystem storeSystem, ICombatSystem combatSystem, IInventorySystem inventorySystem, ILocationSender locationSender, IChatSender chatSender, IJoinSender joinSender) { _webSocketCore = webSocketCore; _connectionService = connectionService; _commandSystem = commandSystem; _movementSystem = movementSystem; _chatSystem = chatSystem; _storeSystem = storeSystem; _combatSystem = combatSystem; _inventorySystem = inventorySystem; _loginSystem = loginSystem; _locationSender = locationSender; _chatSender = chatSender; _joinSender = joinSender; }
public void LoadSystems(GameEngine engine) { RenderSystem = new BasicRenderSystem(); InputSystem = new InputSystem(); AnimationSystem = new AnimationSystem(engine); TimerSystem = new TimerSystem(engine); MoveSystem = new MovementSystem(engine); }
private void Awake() { _movementSystem = transform.parent.GetComponentInChildren <IMovementSystem>(); }