PlaneGame/Plane.cs

(开头部分) 2KB

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

using System;
using System.Collections.Generic;
using System.Text;

namespace PlaneGame
{
    /// <summary>
    /// 飞机
    /// </summary>
    public class Plane
    {
        #region 飞机属性
        private int _Live;
        private int _Direction;
        private int _PlaneType;
        private int _BulletType;
        private int _Plane_X;
        private int _Plane_Y;
        private int _Level;
        private int _MoveSpleed;
        private int _Width;
        private int _Height;

        /// <summary>
        /// 生命值
        /// </summary>
        public int Live
        {
            get { return _Live; }
            set { _Live = value; }
        }

        /// <summary>
        /// 方向 0 上 1 下 2 左 3 右
        /// </summary>
        public int Direction
        {
            get { return _Direction; }
            set { _Direction = value; }
        }

        /// <summary>
        /// 飞机类型 
        /// </summary>
        public int PlaneType
        {
            get { return _PlaneType; }
            set { _PlaneType = value; }
        }

        /// <summary>
        /// 子弹类型 0 普通弹 1 加强弹 2普通霰弹 3加强霰弹 4导弹 
        /// </summary>
        public int BulletType
        {
            get { return _BulletType; }
            set { _BulletType = value; }
        }

        /// <summary>
后面还有 55 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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