Wall.cs

(完整代码) 575B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using Tank_11_14.Properties;

namespace Tank_11_14
{
    class Wall:Module
    {
        private static Image imgWall =Resources.walls_new;
         public Wall(int x, int y)
            : base(x, y, imgWall.Width, imgWall.Height)
        {
            this.Width = 35;
            this.Height = 35;
        }
         public override void Draw(Graphics g)
         {
             g.DrawImage(imgWall, this.X, this.Y);
         }

    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。