C# Class FBLibrary.Core.BaseEntity

Inheritance: IEntity
Show file Open project: Noxalus/Final-Bomber

Public Properties

Property Type Description
DestructionTime System.TimeSpan
InDestruction bool
IsAlive bool

Public Methods

Method Description
ChangePosition ( Point p ) : void
ChangePosition ( float x, float y ) : void
ChangePosition ( int x, int y ) : void
Destroy ( ) : void
Remove ( ) : void
Update ( ) : void

Protected Methods

Method Description
BaseEntity ( ) : System
BaseEntity ( Point cellPosition ) : System

Method Details

BaseEntity() protected method

protected BaseEntity ( ) : System
return System

BaseEntity() protected method

protected BaseEntity ( Point cellPosition ) : System
cellPosition Point
return System

ChangePosition() public method

public ChangePosition ( Point p ) : void
p Point
return void

ChangePosition() public method

public ChangePosition ( float x, float y ) : void
x float
y float
return void

ChangePosition() public method

public ChangePosition ( int x, int y ) : void
x int
y int
return void

Destroy() public abstract method

public abstract Destroy ( ) : void
return void

Remove() public abstract method

public abstract Remove ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

DestructionTime public property

public TimeSpan,System DestructionTime
return System.TimeSpan

InDestruction public property

public bool InDestruction
return bool

IsAlive public property

public bool IsAlive
return bool