Simon 的个人资料Simons XNA Game Page照片日志列表更多 ![]() | 帮助 |
|
3月29日 Some UML DesignI took some time this morning to display the inheritance model I will be using for implementing the player and enemy objects. Basically I will have a base player object will define some generic properties for the a moveable character in the game. These will include properties like velocity, position and direction, etc.
A common Enemy class is then derived from that base class to provide yet more functionality, such as AI and the ability to react to the environment.
Every enemy type will then be derived from that common Enemy class to define their own unique attributes. 引用通告此日志的引用通告 URL 是: http://signot.spaces.live.com/blog/cns!A50EAA47F45992D0!220.trak 引用此项的网络日志
|
|
|