Esempio n. 1
0
        //******************************************************
        //** Ctor
        //******************************************************

        public Cyclist(IUpdatableStateMachine <Cyclist> fsm)
            : base(fsm)
        {
            fsm.SetOwner(this);
            Stamina = 10;
            Fitness = 10;
            Fatigue = 0;
        }
Esempio n. 2
0
        //******************************************************
        //** Ctor
        //******************************************************

        public StateGameObject(IUpdatableStateMachine <T> fsm)
        {
            _fsm = fsm;
        }