23 lines
450 B
C#
23 lines
450 B
C#
public partial class Ship : Structure
|
|
{
|
|
public Ship(string name, CoordinateVector position, GameObject parent, long diameter, bool isPlayer)
|
|
: base(name, position, parent, diameter, isPlayer)
|
|
{
|
|
this.IsMobile = true;
|
|
}
|
|
|
|
public override void Simulate()
|
|
{
|
|
base.Simulate();
|
|
|
|
if (this.IsPlayer)
|
|
{
|
|
SimulatePlayer();
|
|
}
|
|
}
|
|
|
|
protected void SimulatePlayer()
|
|
{
|
|
|
|
}
|
|
}
|