C# Class Gears.Cloud.Collisions.CHitShape

Show file Open project: spectrumbranch/gearsvge Class Usage Examples

Public Properties

Property Type Description
position Vector2

Protected Properties

Property Type Description
_shape shapeType

Public Methods

Method Description
contains ( CHitShape otherShape ) : bool
transform ( int scale, Vector2 distance ) : void

Protected Methods

Method Description
CHitShape ( shapeType shape, Vector2 position ) : System
_scale ( int percentage ) : void
_translate ( Vector2 distance ) : void

Method Details

CHitShape() protected method

protected CHitShape ( shapeType shape, Vector2 position ) : System
shape shapeType
position Vector2
return System

_scale() protected abstract method

protected abstract _scale ( int percentage ) : void
percentage int
return void

_translate() protected method

protected _translate ( Vector2 distance ) : void
distance Vector2
return void

contains() public abstract method

public abstract contains ( CHitShape otherShape ) : bool
otherShape CHitShape
return bool

transform() public method

public transform ( int scale, Vector2 distance ) : void
scale int
distance Vector2
return void

Property Details

_shape protected property

protected shapeType _shape
return shapeType

position public property

public Vector2 position
return Vector2