Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Car{
- public:
- int health;
- Car(int HP){
- health = HP; // и тд
- }
- void HPmines(int hp){
- health -= hp;
- }
- }
- class car_a :public Car{
- public://и тд
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement