C# Class GameCreatorGroupProject.Segment

Exibir arquivo Open project: HeroOfTheWinds/CS-350-410-431-Group-Project Class Usage Examples

Public Methods

Method Description
Segment ( Segment cpy ) : System
Segment ( float startX, float startY, float endX, float endY ) : System
getB ( ) : float
getHX ( ) : float
getLX ( ) : float
getM ( ) : float
intersect ( Segment inter ) : bool
isVert ( ) : bool
move ( float speed, string dir ) : void

Method Details

Segment() public method

public Segment ( Segment cpy ) : System
cpy Segment
return System

Segment() public method

public Segment ( float startX, float startY, float endX, float endY ) : System
startX float
startY float
endX float
endY float
return System

getB() public method

public getB ( ) : float
return float

getHX() public method

public getHX ( ) : float
return float

getLX() public method

public getLX ( ) : float
return float

getM() public method

public getM ( ) : float
return float

intersect() public method

public intersect ( Segment inter ) : bool
inter Segment
return bool

isVert() public method

public isVert ( ) : bool
return bool

move() public method

public move ( float speed, string dir ) : void
speed float
dir string
return void