Example #1
0
 public Proximity(SteeringAgent _agent, List <SteeringAgent> _agents = null)
 {
     agent = _agent;
     if (_agent != null)
     {
         agents = _agents;
     }
 }
Example #2
0
 public InfiniteProximity(SteeringAgent _agent, List <SteeringAgent> _agents = null)
     : base(_agent, _agents)
 {
 }
 public AvoidCollisionsBehavior(SteeringAgent agent, Proximity _proximity) : base(agent, _proximity)
 {
 }
Example #4
0
 public GroupBehavior(SteeringAgent agent, Proximity _proximity) : base(agent)
 {
     proximity = _proximity;
 }
Example #5
0
 public virtual bool _ReportNeighbor(SteeringAgent _neighbor)
 {
     return(false);
 }
 public ArriveBehavior(SteeringAgent agent, AgentLocation _target) : base(agent)
 {
     target = _target;
 }
Example #7
0
 public BlendBehavior(SteeringAgent agent) : base(agent)
 {
 }
 public RadiusProximity(SteeringAgent _agent, List <SteeringAgent> _agents = null, float _radius = 20)
     : base(_agent, _agents)
 {
     radius      = _radius;
     _scene_tree = (SceneTree)Engine.GetMainLoop();
 }