Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ray
master
Cannon
CannonWorld
Canvas
Color
Matrix
Point
PPM
Projectile
Ray
Vector
Generated using Crystal 1.16.3
2026-11-11 10:22:26 UTC
class
Projectile
Projectile
Reference
Object
Defined in:
cannon/projectile.cr
Constructors
.new
(position : Point, velocity : Vector)
Instance Method Summary
#position
: Point
#velocity
: Vector
Constructor Detail
def self.
new
(position :
Point
, velocity :
Vector
)
#
[
View source
]
Instance Method Detail
def
position
:
Point
#
[
View source
]
def
velocity
:
Vector
#
[
View source
]