Rules are not template anymore (it was dumb)
Entities are now managed with unique_ptr to allow polymorphism (and good memory management) Rules can be added via the Level object Fixed Rule::findTarget not caring about targetType TODO : Find why pathfinding (unlikely) or findTarget (most likely) is broken
This commit is contained in:
parent
4ab83f1124
commit
c94fc5a0be
7 changed files with 221 additions and 193 deletions
|
@ -15,11 +15,11 @@ This game is aimed to be a puzzle game in which the player sets different laws f
|
|||
- [x] Structure
|
||||
- [x] Parsing from XML
|
||||
- [x] A*
|
||||
- [ ] Entities
|
||||
- [x] Entities
|
||||
- [x] Structure
|
||||
- [x] Parsing from XML
|
||||
- [x] Moving
|
||||
- [ ] Decorators (Rules)
|
||||
- [x] Decorators (Rules)
|
||||
- [ ] Rules
|
||||
- [x] Creation
|
||||
- [x] Interaction with entities
|
||||
|
@ -32,7 +32,7 @@ This game is aimed to be a puzzle game in which the player sets different laws f
|
|||
- [ ] Gameloop
|
||||
- [ ] Transition from starting to running state and vice-versa
|
||||
- [ ] Entity behaviour evolution
|
||||
- [ ] Rule application
|
||||
- [x] Rule application
|
||||
- [ ] Saving state through serialization ?
|
||||
- [ ] UML
|
||||
- [ ] Unit tests
|
Loading…
Add table
Add a link
Reference in a new issue