You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bluecri edited this page Sep 29, 2018
·
6 revisions
Entity & Object
Entity has RigidbodyComponent & bindedGameSession
IGameObject inheritance Entity and has CollisionComponent & RenderObject
Need only rigidbody, then make class inheritancing entity (ex. Particle entity, Camera..)
Need collision component and RenderObject, then make class inheritancing IGameObject.(ex. LightGameObject, IPlane, IFieldItem…)
Entities are managed by GameSession class.
GameSession is managed by Scene class.
Program can have many scenes. (ex. GameScene, MenuScene..) Input is propagated to top scene and updating the scnee with deltaTime also result from scene state.