C# Class World.Physics.StaticPhysicalEntity

Inheritance: IPhysicalEntity
Exibir arquivo Open project: GoodAI/BrainSimulator

Public Methods

Method Description
CollidesWith ( IPhysicalEntity physicalEntity ) : bool
CoverRectangle ( ) : RectangleF
CoverTiles ( ) : List
StaticPhysicalEntity ( IShape shape, float weight = 1, bool inelasticCollision = false, bool elasticCollision = false ) : System.Collections.Generic

Method Details

CollidesWith() public method

public CollidesWith ( IPhysicalEntity physicalEntity ) : bool
physicalEntity IPhysicalEntity
return bool

CoverRectangle() public method

public CoverRectangle ( ) : RectangleF
return RectangleF

CoverTiles() public method

public CoverTiles ( ) : List
return List

StaticPhysicalEntity() public method

public StaticPhysicalEntity ( IShape shape, float weight = 1, bool inelasticCollision = false, bool elasticCollision = false ) : System.Collections.Generic
shape IShape
weight float
inelasticCollision bool
elasticCollision bool
return System.Collections.Generic