struct PhysicsPositionRequest

Defined in:

utils/physics_systems.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(typ : LibEngine::PhysicCoordinatesMode, x : Float64, y : Float64, vx : Float64 = 0, vy : Float64 = 0, a : Float64 = 0, omega : Float64 = 0) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def a : Float64 #

def clone #

[View source]
def copy_with(typ _typ = @typ, x _x = @x, y _y = @y, vx _vx = @vx, vy _vy = @vy, a _a = @a, omega _omega = @omega) #

[View source]
def omega : Float64 #

def typ : LibEngine::PhysicCoordinatesMode #

def vx : Float64 #

def vy : Float64 #

def x : Float64 #

def y : Float64 #