| 102 | } |
| 103 | |
| 104 | LuaMethods<PlatformerAStar::PathFinder> LuaUserDataMethods<PlatformerAStar::PathFinder>::make() { |
| 105 | LuaMethods<PlatformerAStar::PathFinder> methods; |
| 106 | methods.registerMethodWithSignature<Maybe<bool>, PlatformerAStar::PathFinder&, Maybe<unsigned>>( |
| 107 | "explore", mem_fn(&PlatformerAStar::PathFinder::explore)); |
| 108 | methods.registerMethodWithSignature<Maybe<PlatformerAStar::Path>, PlatformerAStar::PathFinder&>( |
| 109 | "result", mem_fn(&PlatformerAStar::PathFinder::result)); |
| 110 | return methods; |
| 111 | } |
| 112 | |
| 113 | Maybe<PlatformerAStar::Parameters> LuaConverter<PlatformerAStar::Parameters>::to(LuaEngine&, LuaValue const& v) { |
| 114 | PlatformerAStar::Parameters p; |
nothing calls this directly
no test coverage detected