Esempio n. 1
0
        public void Update(
            MobUpdateContext context)
        {
            // Get the current behavior running, if any
            MobAIBehaviorState behaviorState = context.mob.AIState.behavior_data;

            behaviorState.active_behavior_stack = "";
            ActivateBehaviors(context, m_root);

            //currentBehavior.GetType().Name;
        }
Esempio n. 2
0
 public MobAIState(MobSpawner spawner)
 {
     behavior_data = new MobAIBehaviorState(spawner);
     perception_data = new MobAIPerceptionState();
 }
Esempio n. 3
0
 public MobAIState()
 {
     behavior_data = new MobAIBehaviorState();
     perception_data = new MobAIPerceptionState();
 }