mirror of
https://github.com/SFML/SFML.git
synced 2024-11-29 06:41:05 +08:00
738b02c308
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1680 4e206d99-4929-0410-ac5d-dfc041789085
11 lines
162 B
Ruby
11 lines
162 B
Ruby
require 'sfml/system'
|
|
require 'sfml/window'
|
|
require 'sfml/graphics'
|
|
|
|
class MyDrawable
|
|
include SFML::Drawable
|
|
end
|
|
|
|
drawable = MyDrawable.new
|
|
p drawable.position
|