示例#1
0
 public Vector(ILocationFormat locationFormat)
 {
     X               = 0;
     Y               = 0;
     Dir             = Direction.Default;
     Mag             = 0;
     Max             = 0;
     _locationFormat = locationFormat;
 }
示例#2
0
 public Grid(int size, ILocationFormat locationFormat)
 {
     Map            = new Dictionary <string, Coord>();
     Size           = size;
     LocationFormat = locationFormat;
 }