hi everyone thank you in advance.
i have 2 classes, one for ship
one for bullet.
i was trying to set the bullet.x to ship.x in the bullet class
but it keeps telling me undefined. but clearly it is in my ship class.
can anyone tell me what is wrong and how i can fix this??