C# Class SpaceShip.Logic.Bullet

Inheritance: GameObject
Show file Open project: pmyoung/Advanced-Game-Project

Public Methods

Method Description
Bullet ( float bX, float bY, float bSpeedX, float bSpeedY, int playerId, int spriteId ) : System
hit ( ) : void
outOfBounds ( ) : void

Private Methods

Method Description
destroy ( ) : void

Method Details

Bullet() public method

public Bullet ( float bX, float bY, float bSpeedX, float bSpeedY, int playerId, int spriteId ) : System
bX float
bY float
bSpeedX float
bSpeedY float
playerId int
spriteId int
return System

hit() public method

public hit ( ) : void
return void

outOfBounds() public method

public outOfBounds ( ) : void
return void