Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Human
- {
- private const int basehp = 20;
- public class Male : Human
- {
- basehp += 20%;
- }
- public class Female : Human
- {
- basehp -= 20%;
- }
- }
- public class NotHuman
- {
- private const int basehp 222;
- public class Male : NotHuman
- {
- basehp += 20%;
- }
- public class Female : NotHuman
- {
- basehp -= 20%;
- }
- }
Add Comment
Please, Sign In to add comment