1
2
3
4
5
6
7
8
9
10
11
12
13
|
// main.cpp: initialisation & main loop
#include "cube.h"
#import "Command.h"
#import "Player.h"
OF_APPLICATION_DELEGATE(Cube)
VARF(gamespeed, 10, 100, 1000, if (multiplayer()) gamespeed = 100);
VARP(minmillis, 0, 5, 1000);
@implementation Cube
|
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// main.cpp: initialisation & main loop
#include "cube.h"
#import "Command.h"
#import "Player.h"
#import "Variable.h"
OF_APPLICATION_DELEGATE(Cube)
VARF(gamespeed, 10, 100, 1000, if (multiplayer()) gamespeed = 100);
VARP(minmillis, 0, 5, 1000);
@implementation Cube
|