示例#1
0
        public Drone(double _maxAvailDist, double _chargingRate)
        {
            maxAvailDist = _maxAvailDist;
            chargingRate = _chargingRate;
            battery      = 100;

            status = droneType.D_IN_STATION;
        }
        public Drone(Vector2 position, Vector2 velocity, Vector2 acceleration, float radius, droneType type, Entity master, Sprite sprite)
            : base(position, velocity, acceleration, radius)
        {
            this.type = type;
            this.master = master;
            dBs = new List<Bullet>();
            pic = sprite;

            //normalSprite = sprite;
               //normalSprite = new Sprite(RNSEB.PlayerSheet, PlayerSheet.PNORMAL);
        }
示例#3
0
 public void setStatus(droneType _status)
 {
     status = _status;
 }