jolievivienne

Constructor

Jun 11th, 2015
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.45 KB | None | 0 0
  1. ExistenceClientStateSingleton::ExistenceClientStateSingleton(Context * context)
  2.     :LogicComponent(context)
  3.     ,baseclass(NULL)
  4. {
  5.  
  6.     /// Pointer point to
  7.     baseclass = ExistenceClient::applicationPtr;
  8.     /// ApplicationPtr is a  Urho3D::SharedPtr<ExistenceClient> in the Existence Class(Public)
  9.     /// baseclass is a Urho3D::SharedPtr<ExistenceClient>
  10.  
  11.     /// singleton construct
  12.     cout << "Debug: Singleton Constructor" << endl;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment