Management of the Camera and movement of objects What we want:
To move a Subject (Avatar, Purpose, building, etc. ...) with the mouse or keyboard. AtyScape calculates the new position following the constraints of each object. The camera B, which follows the object A is also subject to constraints that must then be updated.
!! OBSOLETE!! New method based on the Cam as a form CEntity and GamesModes? Managing events. !!
Classes
MoveHandler: Has the basic methods for moving
-> WalkerMoveHandler: Travel Management a character ashore
-> FlyMoveHandler: Travel Management of a character free in the air
CamHandler: Travel Management of the camera
GameMode: Manages events and rendering (Own CamHandler and MoveHandler)
-> WalkerMode: WalkerMoveHandler + CamHandler
-> FlyMode: FlyMoveHandler + CamHandler with distance = 0
[Page Translated by Google and checked by Mankar]
