PlaneGame/Enemy.cs

(开头部分) 9KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using System.Windows.Forms;

namespace PlaneGame
{
    public class Enemy:Plane
    {
        private int _Enemy_x;
        private int _Enemy_y;
        private Bitmap _Style;
        private bool _isfire;
        private bool planeflag=false;
        private int expolecount = 0;
        private bool _expole = false;
        private int dely = 100;
        private bool _isStart = false;

        Bitmap pl;
        Bitmap p1 = global::PlaneGame.Properties.Resources.enemy1;
        Bitmap p2 = global::PlaneGame.Properties.Resources.enemy2;
        Bitmap p3 = global::PlaneGame.Properties.Resources.enemy3;

        Bitmap pnle3 = global::PlaneGame.Properties.Resources.plane3;
        Bitmap pnle2 = global::PlaneGame.Properties.Resources.plane2;
        Bitmap pnle = global::PlaneGame.Properties.Resources.plane;
        Bitmap pnle1 = global::PlaneGame.Properties.Resources.plane1;
        Bitmap boss0 = global::PlaneGame.Properties.Resources.boss0;
        Bitmap exp = global::PlaneGame.Properties.Resources.flame;

        
        /// <summary>
        /// 敌人的X坐标
        /// </summary>
        public int Enemy_x
        {
            get { return _Enemy_x; }
            set { _Enemy_x = value; }
        }

        /// <summary>
        /// 敌人的Y坐标
        /// </summary>
        public int Enemy_y
        {
            get { return _Enemy_y; }
            set { _Enemy_y = value; }
        }

        /// <summary>
        /// 飞机样式
        /// </summary>
        public Bitmap Style
        {
            get { return _Style; }
            set { _Style = value; }
        }

后面还有 201 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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