Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class Human(){
- public string name = "" ;
- public int health = 100;
- public int strength = 100;
- public float speed = 10.0f;
- public bool isAwake = true;
- //Say whatsup
- public virtual void AskWhatsup(){
- print("Surprise , motha fucka");
- }
- public class Kurdish: Human
- {
- public override void AskWhatsup()
- {
- print ("Naber qeqe xd");
- }
- }
- public class Aegean: Human
- {
- public override void AskWhatsup()
- {
- print ("Naber len xd");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement