C# Class Project290.Games.Solitude.SolitudeObjects.Door

Inheritance: Wall
Mostrar archivo Open project: scastle/Solitude Class Usage Examples

Public Properties

Property Type Description
direction Direction

Public Methods

Method Description
Door ( Vector2 position, World world, float width, float height, float density, WallType type, Direction d ) : System
Draw ( ) : void
Enter ( ) : void
OnCollision ( Fixture f1, Fixture f2, Physics c ) : bool

Method Details

Door() public method

public Door ( Vector2 position, World world, float width, float height, float density, WallType type, Direction d ) : System
position Vector2
world Project290.Physics.Dynamics.World
width float
height float
density float
type WallType
d Direction
return System

Draw() public method

public Draw ( ) : void
return void

Enter() public method

public Enter ( ) : void
return void

OnCollision() public method

public OnCollision ( Fixture f1, Fixture f2, Physics c ) : bool
f1 Project290.Physics.Dynamics.Fixture
f2 Project290.Physics.Dynamics.Fixture
c Physics
return bool

Property Details

direction public_oe property

the side of the room the wall is on and the direction of the next room
public Direction direction
return Direction