lib/Gosuplus/entity.rb in Gosuplus-1.0.19 vs lib/Gosuplus/entity.rb in Gosuplus-1.0.20

- old
+ new

@@ -1,5 +1,11 @@ module Gosuplus - module Entity + class Entity attr_accessor :id + include DrawableRot + + def initialize(pos, image) + @body = Body.new(pos, image.width, image.height) + @image = image + end end end \ No newline at end of file