C# Class Server.Bullet

This class represents a bullet fired by a ship .
Inheritance: GameObject
Show file Open project: pmyoung/Advanced-Game-Project Class Usage Examples

Public Methods

Method Description
checkCollision ( GameObject object2 ) : bool

Check the collision between the bullet and a GameObject instance

Method Details

checkCollision() public method

Check the collision between the bullet and a GameObject instance
public checkCollision ( GameObject object2 ) : bool
object2 GameObject An instance to a GameObject
return bool