Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Marche :
- ---------
- gc = getmetatable(platform.gc())
- function gc:test()
- self:setColorRGB(0,0,0)
- self:fillRect(10,10,10,10)
- end
- function on.paint(gc)
- gc:test()
- end
- Marche pas :
- ------------
- toto = getmetatable(platform.gc())
- function toto:test()
- self:setColorRGB(0,0,0)
- self:fillRect(10,10,10,10)
- end
- function on.paint(gc)
- toto:test()
- end
- Marche :
- --------
- toto = getmetatable(platform.gc())
- function toto:test()
- self:setColorRGB(0,0,0)
- self:fillRect(10,10,10,10)
- end
- function on.paint(toto)
- toto:test()
- end
- Marche :
- --------
- toto = getmetatable(platform.gc())
- function toto:test()
- self:setColorRGB(0,0,0)
- self:fillRect(10,10,10,10)
- end
- function on.paint(gc)
- gc:test()
- end
Add Comment
Please, Sign In to add comment