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); }
public void setStatus(droneType _status) { status = _status; }