Sha256: eb5e32e7e8fc8c43793058afe2ac42f71b6188ae21e359d7d1fa8180db99118b

Contents?: true

Size: 260 Bytes

Versions: 1

Compression:

Stored size: 260 Bytes

Contents

module Gosuplus
  class Entity
    include DrawableRot
    attr_accessor :id, :body

    def initialize(pos, image, angle = 0)
      @body = Body.new(pos, image.width, image.height, angle)
      @image = image
    end

    def update; end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Gosuplus-1.0.261 lib/Gosuplus/entity.rb