1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// monster.cpp: implements AI for single player monsters, currently client only
#import "Monster.h"
#include "cube.h"
#import "Entity.h"
#import "Player.h"
static OFMutableArray<Monster *> *monsters;
static int nextmonster, spawnremain, numkilled, monstertotal, mtimestart;
@implementation Monster
+ (void)initialize
{
|
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// monster.cpp: implements AI for single player monsters, currently client only
#import "Monster.h"
#include "cube.h"
#import "Entity.h"
#import "Player.h"
#import "Variable.h"
static OFMutableArray<Monster *> *monsters;
static int nextmonster, spawnremain, numkilled, monstertotal, mtimestart;
@implementation Monster
+ (void)initialize
{
|