cocos2d-x lua转型

我自定义一个Fish类,该类继CCNode, 现在要从_fishes数组里拿到Fish对象,下面的方法对么?
local child = tolua.cast(self._fishes:objectAtIndex(i), “Fish”)