Well I made a test to check if Drawable worked, and it didn't... I had made some really bad mistakes but they are fixed now and the drawable test is working currently. Though it will be extended with functionality to render too. Will have to wait with that test for now as the function is actually not finished.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1680 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
8153ec8db8
commit
738b02c308
4 changed files with 20 additions and 16 deletions
10
bindings/ruby/testing/drawable-mixin.rb
Normal file
10
bindings/ruby/testing/drawable-mixin.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
require 'sfml/system'
|
||||
require 'sfml/window'
|
||||
require 'sfml/graphics'
|
||||
|
||||
class MyDrawable
|
||||
include SFML::Drawable
|
||||
end
|
||||
|
||||
drawable = MyDrawable.new
|
||||
p drawable.position
|
Loading…
Add table
Add a link
Reference in a new issue