struct IntVector2
- IntVector2
- Struct
- Value
- Object
Included Modules
- Cannon::FastAuto
- Cannon::FastAutoToIo
Extended Modules
- Cannon::FastAutoFromIo
Defined in:
engine/vector2.crgui/general.cr
Constructors
Class Method Summary
-
.use_fast_cannon?
Magic method to mark this structure as being fast en-/decodable.
Instance Method Summary
- #*(scale : Int)
- #*(scale : Number)
- #+(other : Vector2)
- #+(other)
- #-(other : Vector2)
- #-(other)
- #-
- #//(scale)
- #clone
- #copy_with(x _x = @x, y _y = @y)
- #inspect(io)
- #max
- #min
- #to_f
- #x : Int32
- #y : Int32