コード例 #1
0
        public TargetingSystem(Boundaries boundaries, Coordinate coordinate, Compass direction, int speed)
        {
            Target = new Coordinate(coordinate);
            Direction = direction;
            Hits = 1;
            Speed = speed;

            _boundaries = boundaries;
            _start = new Coordinate(coordinate);
        }
コード例 #2
0
 public TargetingSystem(Boundaries boundaries)
 {
     _boundaries = boundaries;
 }