class Gosuplus::Entity

Attributes

body[RW]
id[RW]

Public Class Methods

new(pos, image, angle = 0) click to toggle source
# File lib/Gosuplus/entity.rb, line 6
def initialize(pos, image, angle = 0)
  @body = Body.new(pos, image.width, image.height, angle)
  @image = image
end

Public Instance Methods

update() click to toggle source
# File lib/Gosuplus/entity.rb, line 11
def update; end