class Gsw::Obj
- Gsw::Obj
- Reference
- Object
Direct Known Subclasses
Defined in:
gsw/core/obj.crConstructors
Instance Method Summary
- #collision?(other : Vector)
- #draw(_parent_x, _parent_y)
- #height : Int32 | Float32
- #position : Vector
- #rotation : Int32 | Float32 | Float64
- #update(_frame_time)
- #width : Int32 | Float32
- #x(*args, **options)
- #x(*args, **options, &)
- #y(*args, **options)
- #y(*args, **options, &)
Constructor Detail
def self.new(x, y, width : Float32 | Int32, height : Float32 | Int32, rotation : Float32 | Float64 | Int32 = 0)
#