Really need a way to attack and enemies to be a true MVP. But for iteration 0 this is fine. Need Kenney Art. Need a way to Attack. Need Rally Points. Need Fog of War. Need a HUD for better unit selection. Need Mini Map. I can go on, this is by far the most complex Prototype I've ever done.
21 lines
364 B
C#
21 lines
364 B
C#
public class Marine : Unit
|
|
{
|
|
protected override void Start()
|
|
{
|
|
base.Start();
|
|
// TODO: obviously this will be removed...
|
|
MoveTo(_transform.position);
|
|
}
|
|
|
|
protected override void CancelCurrentTask()
|
|
{
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
private void Update()
|
|
{
|
|
MovementRoutine();
|
|
}
|
|
}
|