Example #1
0
 public Player(Location origin)
     : base(origin)
 {
 }
Example #2
0
 public Entity(Location origin)
 {
     this.origin = origin;
 }
Example #3
0
 public double getDistance(Location target)
 {
     return Math.Sqrt(Math.Pow(target.x - x, 2) + Math.Pow(target.y - y, 2));
 }
Example #4
0
 public Planet(Location origin)
     : base(origin)
 {
 }