tankgame2007.cs

来自「基于.net FrameWork的windows游戏-坦克大战游戏.用到了多线程」· CS 代码 · 共 31 行

CS
31
字号
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace tank
{
    public partial class TankGame2007 : Form
    {
        int formWidth,formHeight;
        int myTankWidth, myTankHeight;
        int myTankDirection;
        bool getActiveMyTank = false;
        int myTankX, myTankY;
        Image bufferImage;
        Image[] myTank;
        Graphics bufferGraphics;
        SpriteDrawing myTankSprite;
        static int speed = 5;



        public TankGame2007()
        {
            InitializeComponent();
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?