inheritance.hpp 619 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. class Tank;
  2. class Tank_F :Tank
  3. {
  4. class turrets;
  5. };
  6. class MBT_01_base_F:Tank_F
  7. {
  8. class turrets : turrets
  9. {
  10. class MainTurret;
  11. };
  12. };
  13. class MBT_01_arty_base_F:MBT_01_base_F
  14. {
  15. class turrets : turrets
  16. {
  17. class MainTurret : Mainturret
  18. {
  19. class Turrets;
  20. };
  21. };
  22. };
  23. class B_MBT_01_arty_base_F:MBT_01_arty_base_F
  24. {
  25. class turrets : turrets
  26. {
  27. class MainTurret : Mainturret
  28. {
  29. class Turrets;
  30. };
  31. };
  32. };
  33. class B_MBT_01_arty_F:B_MBT_01_arty_base_F
  34. {
  35. class turrets : turrets
  36. {
  37. class MainTurret : Mainturret
  38. {
  39. class Turrets : Turrets
  40. {
  41. class CommanderOptics;
  42. };
  43. };
  44. };
  45. };