struct

Galaxy::Hotspot

Inherits Struct < Value < Object

Constructors

new(x : Float64, y : Float64, width : Float64, height : Float64, action : String)
Source

Instance methods

action
clone
Source
contains?(px : Float64, py : Float64) : Bool
Source
copy_with(x _x = @x, y _y = @y, width _width = @width, height _height = @height, action _action = @action)
Source
height
width
x
y