예제 #1
0
        static public void DrawFloor(FoxDraw a, double Width, double Height)
        {
            string path = @".\assets\floor.png";

            for (double x = 0; x < Width; x += Width / 10)
            {
                for (double y = 0; y < Height; y += Height / 10)
                {
                    a.AddImage(path, x, y);
                }
            }
        }
예제 #2
0
        static public void DrawCover(FoxDraw a, double x, double y)
        {
            string path = @".\assets\floor.png";

            a.AddImage(path, x, y);
        }
예제 #3
0
        static public void DrawHero(FoxDraw a, double x, double y)
        {
            string path = @".\assets\hero-down.png";

            a.AddImage(path, x, y);
        }