28 lines
479 B
C#
28 lines
479 B
C#
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
using System;
|
|
|
|
public abstract class AgentTask
|
|
{
|
|
public int Priority;
|
|
|
|
public Guid Zone;
|
|
|
|
public bool Reserved;
|
|
|
|
public abstract TaskType Type { get; }
|
|
}
|
|
|
|
public enum TaskType
|
|
{
|
|
None,
|
|
Mine,
|
|
Haul,
|
|
Tow,
|
|
Defend,
|
|
Attack,
|
|
Explore
|
|
}
|
|
|