class Gsw::View
Defined in:
gsw/maps/view.crConstant Summary
-
MOVE_HELD_SPEED =
500
-
MOVE_SPEED =
150
-
VIEW_PADDING =
50
Instance Method Summary
- #draw
- #draw_viewport_border
- #map_initial_x
- #map_initial_y
- #movable_x?(map, dx)
- #movable_y?(map, dy)
- #move_map(frame_time, map)
- #update(frame_time, map : Map)
- #viewable?(position : Vector, width : Int32 | Float32, height : Int32 | Float32)
- #viewable?(obj : Obj)
Instance methods inherited from class Gsw::Obj
collision?(other : Vector)
collision?,
draw(_parent_x, _parent_y)
draw,
height : Int32 | Float32
height,
position : Vector
position,
rotation : Int32 | Float32 | Float64
rotation,
update(_frame_time)
update,
width : Int32 | Float32
width,
x(*args, **options)x(*args, **options, &) x, y(*args, **options)
y(*args, **options, &) y