Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CAR: public VEHICLE
- {
- private:
- int speed;
- int horsepower;
- int fuel;
- public:
- PLAYER();
- void SetSpeed(int newspeed);
- int GetSpeed();
- void SetHorsepower(int newhp);
- int GetHorsepower();
- void SetFuel(int newfuel);
- int GetFuel();
- /*
- more coming
- very rough draft and concept
- ~Adil
- */
Advertisement
Add Comment
Please, Sign In to add comment