Closed adi64 closed 9 years ago
very minor changes required other than that, very nice :cloud: :cloud: :cloud: :cloud: :steam_locomotive: :train: :train: :train: :train: :train: :train:
(additionally to the comments: There is a debug output saying "Reload completed!" that should be removed)
also works on android
Thanks for the comments and cleaning the code :)
However, constexpr
will not compile with a Visual Studio compiler ( http://stackoverflow.com/questions/20264644/constexpr-not-compiling-in-vc2013 ), therefore we should stick to only using const
- or drop support for MSVC compilers.
Creates classes for
AbstractPlayer
,LocalPlayer
,AIPlayer
andRemotePlayer
. These have their own camera. The game sets the camera that should be used during rendering.The EventHandler now manipulates the local player's camera and manages train interaction with the player object.
The
LocalPlayer
andRemotePlayer
classes are both empty at the moment. TheRemotePlayer
class will probably be populated later, but I'm not so sure about theLocalPlayer
class. Maybe we should delete it, maybe we should keep it so that at least the class type gives a hint that this is the player that is user-controlled.ref #127 Create player class