public Character(FightingEngine game, List <Texture2D> texs, List <int> lengths) : base(game)
        {
            Animator = new Animator(new AnimationData(texs, lengths, true));
            _characterStateFactory = new CharacterStateFactory(_game, this);

            _stateMachine = new StateMachine <CharacterState>();
            _stateMachine.PushState(_characterStateFactory.Get <CharacterStateFree>());
        }
 private PlayerMaster() : base(CharacterStateFactory.GetPlayerState())
 {
 }
Exemple #3
0
 public Mob01() : base(CharacterStateFactory.GetMob01State())
 {
 }