Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class Human(){
  5. public string name = "" ;
  6. public int health = 100;
  7. public int strength = 100;
  8. public float speed = 10.0f;
  9. public bool isAwake = true;
  10.  
  11. //Say whatsup
  12. public virtual void AskWhatsup(){
  13. print("Surprise , motha fucka");
  14. }
  15. public class Kurdish: Human
  16. {
  17. public override void AskWhatsup()
  18. {
  19. print ("Naber qeqe xd");
  20. }
  21. }
  22. public class Aegean: Human
  23. {
  24. public override void AskWhatsup()
  25. {
  26. print ("Naber len xd");
  27. }
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement