struct PhysicsBodyAddRequest

Defined in:

utils/physics_systems.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(typ : PhysicsMaterial, pos : Vector2, speed : Vector2 = v2(0, 0)) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def clone #

[View source]
def copy_with(typ _typ = @typ, pos _pos = @pos, speed _speed = @speed) #

[View source]
def pos : Vector2 #

def speed : Vector2 #

def typ : PhysicsMaterial #