McRogueFace Python API (McRFPy_API) demo class
This commit is contained in:
parent
a6f59085eb
commit
6a2c3c6c36
7 changed files with 245 additions and 0 deletions
|
|
@ -285,6 +285,13 @@ void UITestScene::sRender()
|
|||
|
||||
}
|
||||
|
||||
// test Python sprite code
|
||||
McRFPy_API::executePyString("mcrfpy.drawSprite(123, 10, 10)");
|
||||
McRFPy_API::executePyString("mcrfpy.drawSprite(121, 15, 15)");
|
||||
|
||||
//game->api->executePyString("mcrfpy.drawSprite(123, 10, 10)")
|
||||
//game->api->executePyString("mcrfpy.drawSprite(121, 15, 15)")
|
||||
|
||||
// draw test sprite on top of everything
|
||||
game->getWindow().draw(test_sprite);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue