C# Class WarTornLands.Entities.Modules.Collide.Obstacle

Inheritance: BaseModule, ICollideModule
显示文件 Open project: floAr/WarTornLands

Public Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
IsPassable ( CollideInformation info ) : bool
Obstacle ( ) : System
Obstacle ( DataRow data ) : System
Obstacle ( SerializationInfo info, StreamingContext context ) : System
OnCollide ( CollideInformation info ) : System.Vector2

Method Details

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo
context StreamingContext
return void

IsPassable() public method

public IsPassable ( CollideInformation info ) : bool
info CollideInformation
return bool

Obstacle() public method

public Obstacle ( ) : System
return System

Obstacle() public method

public Obstacle ( DataRow data ) : System
data DataRow
return System

Obstacle() public method

public Obstacle ( SerializationInfo info, StreamingContext context ) : System
info SerializationInfo
context StreamingContext
return System

OnCollide() public method

public OnCollide ( CollideInformation info ) : System.Vector2
info CollideInformation
return System.Vector2