コード例 #1
0
ファイル: Status.cs プロジェクト: tkram01/see3po
 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);
 }
コード例 #2
0
ファイル: RobotSprite.cs プロジェクト: tkram01/see3po
        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);
        }
コード例 #3
0
ファイル: Voodoo.cs プロジェクト: tkram01/see3po
 public Voodoo(Position position)
 {
     CPosition = position;
 }