C# Class World.Physics.PhysicalEntity

Inheritance: IPhysicalEntity
显示文件 Open project: GoodAI/BrainSimulator

Public Methods

Method Description
CollidesWith ( IPhysicalEntity physicalEntity ) : bool
CoverRectangle ( ) : RectangleF
CoverTiles ( ) : List
PhysicalEntity ( System.Vector2 position, IShape shape ) : System

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

PhysicalEntity() public method

public PhysicalEntity ( System.Vector2 position, IShape shape ) : System
position System.Vector2
shape IShape
return System