Ejemplo n.º 1
0
        public override void _Ready()
        {
            base._Ready();

            healthController = GetNode <HealthController>("Controllers/HealthController");
            healthBar        = GetNode <ResourceBar>("HealthBarPositioner/HealthBar");

            healthBar.Init(healthController);
            healthController.OnDie += Died;

            GameRoundManager.S.RegisterTurnTaker(this);
        }