| 426 | } |
| 427 | |
| 428 | bool CppiaClassInfo::implementsInterface(CppiaClassInfo *inInterface) |
| 429 | { |
| 430 | for(int i=0;i<implements.size();i++) |
| 431 | if (implements[i] == inInterface->typeId) |
| 432 | return true; |
| 433 | return false; |
| 434 | } |
| 435 | |
| 436 | |
| 437 | ScriptCallable *CppiaClassInfo::findFunction(bool inStatic,int inId) |