Example #1
0
 public override void GetCollision(List <ILineObstacle> obstacles, bool bulletWall)
 {
     base.GetCollision(obstacles, bulletWall);
     obstacles.Add(LineObstacle.DefaultRight((int)Position.X, (int)Position.Y, (int)Position.Z));
 }
Example #2
0
 protected virtual ILineObstacle GetDefaultRightCollison()
 {
     return(LineObstacle.DefaultRight((int)Position.X, (int)Position.Y, (int)Position.Z));
 }