struct PhysicsApplyControl

Defined in:

utils/physics_systems.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(tx : Float64, ty : Float64, max_speed : Float64, max_force : Float64) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def clone #

[View source]
def copy_with(tx _tx = @tx, ty _ty = @ty, max_speed _max_speed = @max_speed, max_force _max_force = @max_force) #

[View source]
def max_force : Float64 #

def max_speed : Float64 #

def tx : Float64 #

def ty : Float64 #