/
classStructure.txt
73 lines (69 loc) · 1.14 KB
/
classStructure.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Game
MenuManager
StateManager
- Static States
- Current State
- Previous State
GraphicsManager
- Import Models
- Draw Models
- Implement Lighting
- Handle All Lighting Calls
- Handles Animation
- Animation Duration
EnemyManager
- Populate Enemies from Level
- Check Collision With Player
- Call Updates
AudioManager
- Handle All Audio calls
- Play Sounds
- Pause Sounds
- Stop Sounds
- Change Volume
- Audio Channels
Camera
GameEntity - Torch, UI Element
- Drawable
CollisionEntity - MazeWall, Phylactery, Exit
- Collideable
MovableEntity - Player, Enemy
- Movable
Level(Maze)
- Contains Level Data
- AI Node Map
- Monster Start Positions
- Player Start Positions
- Torch Positions
- Exit Position ( Win Condition)
MazeCell
- Walled Sides
- Torch Sides
MazeWall
- Wall Properties
- Width
- Height
Player
- Position
- Update
- Controls
- Movement Calls
- Interact Calls
- Set Phylactery
- Kill Command (Respawn)
- Move
- Spawn
- Light Torch
- Control Camera(Swap to map view)
Enemy
- Position
- AI
- Check Enemy LoS
- Patrol
- Chase
- Kill (On Collide)
- Move
Torch
- Light
Phylactery
- Position