struct IntVector2

Defined in:

engine/vector2.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Int32, y : Int32) #

[View source]

Instance Method Detail

def *(scale : Number) #

[View source]
def +(other : Vector2) #

[View source]
def +(other) #

[View source]
def -(other : Vector2) #

[View source]
def -(other) #

[View source]
def - #

[View source]
def //(scale) #

[View source]
def clone #

[View source]
def copy_with(x _x = @x, y _y = @y) #

[View source]
def inspect(io) #

[View source]
def to_f #

[View source]
def x : Int32 #

def y : Int32 #