Ejemplo n.º 1
0
        public StandardCharacter()
        {
            _moveSpeed = 5;
            _moveSpeedX = _moveSpeed;     // animation move speed
            _moveSpeedY = _moveSpeed;     // animation move speed\

            _currentFacingDirection = HorizontalDirectionEnum.Right;

            _command = new Idle();

            _animations = new Heroes.Core.Battle.Characters.Armies.ArmyAnimations();

            _isBeginTurn = false;
            _isEndTurn = false;

            _isDead = false;

            _currentAnimationSeq = null;
        }
Ejemplo n.º 2
0
        public void Initalize()
        {
            _action = CreateFirstStandingAction(this, _currentFacingDirection);
            SetAnimation(_action._currentAnimationSeq);

            //_currentAnimationRunner = _currentAnimation.CreateRunner();
            //StoredEffectColor = Color.White

            if (_command == null)
            {
                _command = new Idle();
            }
        }
Ejemplo n.º 3
0
        private void Init()
        {
            _animations = new SpellAnimations();

            _command = new Idle();

            _defaultMoveSpeed = 40;
            _moveSpeedX = _defaultMoveSpeed;
            _moveSpeedY = _defaultMoveSpeed;
        }