Advertisement
Guest User

Untitled

a guest
Apr 21st, 2025
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1.  
  2. void CHARACTER::Initialize()
  3. {
  4. CEntity::Initialize(ENTITY_CHARACTER);
  5. ...
  6. }
  7.  
  8.  
  9. void CEnt::Initialize(int type)
  10. {
  11. m_lpPk= NULL;
  12. ...
  13. }
  14.  
  15. class CEntity
  16. {
  17. public:
  18. void BindPk(LPDESC _d) { m_lpPk= _d; }
  19. PK GetPk() const { return m_lpPk; }
  20. private:
  21. PK m_lpPk;
  22. ...
  23. };
  24.  
  25.  
  26. class PK
  27. {
  28. public:
  29. PK();
  30. virtual ~PK();
  31. protected:
  32. void Initialize();
  33. ...
  34. };
  35.  
  36.  
  37. void PK::Initialize()
  38. {
  39. m_bDestroyed = false;
  40. m_pInputProcessor = NULL;
  41. ...
  42. }
  43.  
  44.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement