Ejemplo n.º 1
0
            //

            protected Task(GameCharacterAI owner, Vec3 position, MapObject entity)
            {
                this.owner = owner;
                this.taskPosition = position;
                this.taskEntity = entity;
            }
Ejemplo n.º 2
0
 public AttackTask(GameCharacterAI owner, Vec3 position)
     : base(owner, position, null) { }
Ejemplo n.º 3
0
 public AttackTask(GameCharacterAI owner, MapObject entity)
     : base(owner, Vec3.Zero, entity) { }
Ejemplo n.º 4
0
            //

            public MoveTask(GameCharacterAI owner, Vec3 position, float reachDistance)
                : base(owner, position, null)
            {
                this.reachDistance = reachDistance;
            }
Ejemplo n.º 5
0
 public MoveTask(GameCharacterAI owner, MapObject entity, float reachDistance)
     : base(owner, Vec3.Zero, entity)
 {
     this.reachDistance = reachDistance;
 }
            //

            protected Task(GameCharacterAI owner, Vec3 position, MapObject entity)
            {
                this.owner        = owner;
                this.taskPosition = position;
                this.taskEntity   = entity;
            }
Ejemplo n.º 7
0
 public IdleTask(GameCharacterAI owner)
     : base(owner, Vec3.Zero, null) { }
 public AttackTask(GameCharacterAI owner, MapObject entity)
     : base(owner, Vec3.Zero, entity)
 {
 }
 public AttackTask(GameCharacterAI owner, Vec3 position)
     : base(owner, position, null)
 {
 }
 public MoveTask(GameCharacterAI owner, MapObject entity, float reachDistance)
     : base(owner, Vec3.Zero, entity)
 {
     this.reachDistance = reachDistance;
 }
            //

            public MoveTask(GameCharacterAI owner, Vec3 position, float reachDistance)
                : base(owner, position, null)
            {
                this.reachDistance = reachDistance;
            }
 public IdleTask(GameCharacterAI owner)
     : base(owner, Vec3.Zero, null)
 {
 }