Convert monster into a class
FossilOrigin-Name: e8f80b0482846dfbd5bf97ed375b13687d325e9ef7e2a79176dac49722180124
This commit is contained in:
parent
a7db00c740
commit
2c5f2d0342
16 changed files with 319 additions and 224 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "cube.h"
|
||||
|
||||
#import "DynamicEntity.h"
|
||||
#import "Monster.h"
|
||||
#import "OFString+Cube.h"
|
||||
|
||||
bool editmode = false;
|
||||
|
@ -68,8 +69,8 @@ toggleedit()
|
|||
// edited
|
||||
player1.health = 100;
|
||||
if (m_classicsp)
|
||||
monsterclear(); // all monsters back at their spawns for
|
||||
// editing
|
||||
// all monsters back at their spawns for editing
|
||||
[Monster resetAll];
|
||||
projreset();
|
||||
}
|
||||
Cube.sharedInstance.repeatsKeys = editmode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue