Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
D 0.29 KB | None | 0 0
  1. module Player;
  2.  
  3. alias ushort Actor;
  4.  
  5. extern (C++, hate)
  6. {
  7.     class ActorScript
  8.     {
  9.     protected:
  10.         Actor m_actor;
  11.     }
  12. }
  13.  
  14. class Player : ActorScript
  15. {
  16. private:
  17.     float m_health;
  18.     float m_damage;
  19.     float m_speed;
  20.  
  21. public:
  22.     @property float health() immutable { return m_health; }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement