mirror of
https://github.com/SFML/SFML.git
synced 2024-11-29 06:41:05 +08:00
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
|