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; }
public void Initalize() { _action = CreateFirstStandingAction(this, _currentFacingDirection); SetAnimation(_action._currentAnimationSeq); //_currentAnimationRunner = _currentAnimation.CreateRunner(); //StoredEffectColor = Color.White if (_command == null) { _command = new Idle(); } }
private void Init() { _animations = new SpellAnimations(); _command = new Idle(); _defaultMoveSpeed = 40; _moveSpeedX = _defaultMoveSpeed; _moveSpeedY = _defaultMoveSpeed; }