C# Class MiningGameServer.Entities.ServerProjectile

Inheritance: ServerEntity
显示文件 Open project: geel9/Minor-Destruction

Public Properties

Property Type Description
AirFriction float
EffectOfGravity float
EntityVelocity Vector2
ProjectileID byte
ShouldDestroy bool
UpdateTicks int

Public Methods

Method Description
EntityMovement ( ) : void
GetEntityTile ( ) : Vector2
GetProjectileType ( ) : byte
Update ( ) : void

Private Methods

Method Description
RectangleHitsTiles ( ShapeAABB rect ) : List

Method Details

EntityMovement() public method

public EntityMovement ( ) : void
return void

GetEntityTile() public method

public GetEntityTile ( ) : Vector2
return Vector2

GetProjectileType() public method

public GetProjectileType ( ) : byte
return byte

Update() public method

public Update ( ) : void
return void

Property Details

AirFriction public_oe property

public float AirFriction
return float

EffectOfGravity public_oe property

public float EffectOfGravity
return float

EntityVelocity public_oe property

public Vector2 EntityVelocity
return Vector2

ProjectileID public_oe property

public byte ProjectileID
return byte

ShouldDestroy public_oe property

public bool ShouldDestroy
return bool

UpdateTicks public_oe property

public int UpdateTicks
return int