Hi, I have duplicate method name after translation this code
Import mojo
Class Game Extends App
Field f:Font
Method OnRender()
Draw()
f.Draw("",0,0)
f.Draw2("",0,0)
End
Method Draw()
End
End
Class Font
Method Draw(text:String, x:Int, y:Int)
End
Method Draw2(text:String, x:Int, y:Int)
End
End
Function Main:Int()
New Game
Return 0
End
This result on ios target
class bb_main_Font : public Object{
public:
bb_main_Font();
virtual int m_Draw2(String,int,int);
virtual int m_Draw2(String,int,int);
void mark();
};
|