Beispiel #1
0
 public override bool AuthorizeCollision(LandObject collider)
 {
     if (anchor.creature.alive && collider is Encounter)
         return true;
     else
         return false;
 }
Beispiel #2
0
        public override void CollideEffect(LandObject collider)
        {
            if (collider is Encounter)
            {
                Dummy.filter = Color.Lerp(Color.Red, Color.Transparent, 0.5f);

                if (encounterHandlers != null)
                    encounterHandlers(((Encounter)collider).anchor);
            }
        }
Beispiel #3
0
 public override bool AuthorizeCollision(LandObject collider)
 {
     if (anchor.creature.alive && collider is Encounter)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Beispiel #4
0
        public override void CollideEffect(LandObject collider)
        {
            if (collider is Encounter)
            {
                Dummy.filter = Color.Lerp(Color.Red, Color.Transparent, 0.5f);

                if (encounterHandlers != null)
                {
                    encounterHandlers(((Encounter)collider).anchor);
                }
            }
        }
Beispiel #5
0
 public static void processLandCollision(LandObject objectx, LandObject objecty)
 {
 }
Beispiel #6
0
 public virtual void CollideEffect(LandObject collider)
 {
 }
Beispiel #7
0
 public virtual bool AuthorizeCollision(LandObject collider)
 {
     return false;
 }
Beispiel #8
0
 public override void CollideEffect(LandObject collider)
 {
 }
Beispiel #9
0
 public static void processLandCollision(LandObject objectx, LandObject objecty)
 {
 }
Beispiel #10
0
 public override bool AuthorizeCollision(LandObject collider)
 {
     return true;
 }
Beispiel #11
0
 public virtual void CollideEffect(LandObject collider)
 {
 }
Beispiel #12
0
 public virtual bool AuthorizeCollision(LandObject collider)
 {
     return(false);
 }
Beispiel #13
0
 public override bool AuthorizeCollision(LandObject collider)
 {
     return(true);
 }
Beispiel #14
0
 public override void CollideEffect(LandObject collider)
 {
 }