struct PhysicsPositionComponent
- PhysicsPositionComponent
- ECS::Component
- Struct
- Value
- Object
Defined in:
utils/physics_systems.crConstructors
Class Method Summary
Instance Method Summary
- #a : Float64
- #clone
- #copy_with(typ _typ = @typ, x _x = @x, y _y = @y, vx _vx = @vx, vy _vy = @vy, a _a = @a, omega _omega = @omega)
- #omega : Float64
- #typ : LibEngine::PhysicCoordinatesMode
- #vx : Float64
- #vy : Float64
- #x : Float64
- #y : Float64
Constructor Detail
def self.new(typ : LibEngine::PhysicCoordinatesMode, x : Float64, y : Float64, vx : Float64, vy : Float64, a : Float64, omega : Float64)
#
Class Method Detail
Instance Method Detail
def copy_with(typ _typ = @typ, x _x = @x, y _y = @y, vx _vx = @vx, vy _vy = @vy, a _a = @a, omega _omega = @omega)
#