Example #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;
        }
Example #2
0
 public MobAIState(MobSpawner spawner)
 {
     behavior_data = new MobAIBehaviorState(spawner);
     perception_data = new MobAIPerceptionState();
 }
Example #3
0
 public MobAIState()
 {
     behavior_data = new MobAIBehaviorState();
     perception_data = new MobAIPerceptionState();
 }