Stating to implement the combat system

This commit is contained in:
Kayne Ruse
2014-05-15 23:59:24 +10:00
parent e5a98efd7d
commit f0453375c4
9 changed files with 249 additions and 18 deletions
+19 -18
View File
@@ -16,24 +16,25 @@ I may also need to rewrite some variable names.
--ServerApplication's methods--
These interact with the database file, making the server a persistent system.
* CreateUserAccount
* LoadUserAccount
* SaveUserAccount
* UnloadUserAccount
* DeleteUserAccount
* CreateCharacter
* LoadCharacter
* SaveCharacter
* UnloadCharacter
* DeleteCharacter
//NOTE: I honestly don't know what I'm doing
CreateCombatInstance(roomIndex)
PushCharacterToCombat(charIndex, combatIndex)
UpdateCombatInstances() //handles all combat
--Battle System--
CombatPortal:
x, y
list<Character>
list<Monster>
//...
CharacterData:
--stats
EnemyData
--stats
CombatInstance
list<CharacterData*>
list<EnemyData>
Room:
RegionPager pager
EnemyFactory enemyFactory --this takes information on the room's data early in the room's construction
list<CombatInstance>