Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ray
master
Cannon
CannonWorld
Canvas
Color
Matrix
Point
PPM
Projectile
Ray
Vector
Built with Crystal 1.9.2
2023-10-07 16:22:09 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
]