243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
|
isKindOfClass:[Command class]]) {
// game defined commands use very
// ad-hoc function signature, and just
// call it
OFArray<OFString *> *arguments =
[[OFArray alloc]
initWithObjects:w
count:numargs + 1];
val = [identifier
callWithArguments:arguments
isDown:isdown];
} else if ([identifier
isKindOfClass:[Variable
class]]) {
// game defined variables
|
|
|
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
|
isKindOfClass:[Command class]]) {
// game defined commands use very
// ad-hoc function signature, and just
// call it
OFArray<OFString *> *arguments =
[[OFArray alloc]
initWithObjects:w
count:numargs];
val = [identifier
callWithArguments:arguments
isDown:isdown];
} else if ([identifier
isKindOfClass:[Variable
class]]) {
// game defined variables
|