Figure 2. The class diagram for the Player and Camera movements-Modeling, Designing, and Implementing an Avatar-based Interactive Map
Authors/Creators
- 1. Lamar University, Beaumont, TX 77710, U.S.A.
- 2. California State University, Long Beach, CA 90840, U.S.A.
Description
The next section describes the Unified Modelling Language (UML) diagrams designed for the project, which are a state diagrams (also known as statecharts) for the Player movement, the Navigation system (Figure 1). In addition, we used a class diagram for the Player and Camera movement (Figure 2). When the avatar-based game starts, the state of the Player is Idle, i.e., Player_IDLE. When the user selects the building, it enables the navigation path towards the destination. If the user selects any arrow keys (Right, Left & Up) the state of the player will change to running (i.e., Player_Running). Also, the path will diminish along with the player movement; hence, the state of navigation path will change to Changing_Path.
Notes
Files
fIGURA (2).png
Files
(99.3 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:1d0d9c2a6f951b48edde261b102456a2
|
99.3 kB | Preview Download |