Ejemplo n.º 1
0
 public Status(Image floorPlan, double scale)
 {
     m_FloorPlan = new FloorPlan(floorPlan, scale);
     m_Moves = new List<FloorTile>();
     m_Images = new Stack<Image>(IMG_CAP);
     m_Moves = new List<FloorTile>();
     m_Position = new Position(new Point(0, 0), 0);
 }
Ejemplo n.º 2
0
        public RobotSprite(Image sprite, double pixelsPerFoot, Position position)
        {
            m_pixelsPerFoot = toPixels(pixelsPerFoot);
            m_position = position;

            m_originalImage = new Bitmap(sprite);
            m_resizedImage = new Bitmap(sprite, new Size(m_pixelsPerFoot, m_pixelsPerFoot));
            m_image = new Bitmap(m_resizedImage);
        }
Ejemplo n.º 3
0
 public Voodoo(Position position)
 {
     CPosition = position;
 }