ORTS

TerrainBase::Task Struct Reference

A pathfinding task to be executed. More...

#include <TerrainBase.H>

Inheritance diagram for TerrainBase::Task:
TerrainBase::Obj2LocTask TerrainBase::Obj2ObjTask

List of all members.

Public Types

enum  Group { INDIVIDUAL, FORMATION }
 

Units traveling at individual speeds or in formation?

More...

Public Member Functions

 Task (Goal::Target t=Goal::LOCATION, Goal::Mode m=Goal::VICINITY, Group g=INDIVIDUAL)
 Task (const Task &other)

Public Attributes

Goal goal
 The goal of the movement.
enum TerrainBase::Task::Group group
std::set< const Object * > objs
 The objects to be moved.

Detailed Description

A pathfinding task to be executed.

Definition at line 145 of file TerrainBase.H.


Member Enumeration Documentation

Units traveling at individual speeds or in formation?

Enumerator:
INDIVIDUAL 
FORMATION 

Definition at line 151 of file TerrainBase.H.


Constructor & Destructor Documentation

TerrainBase::Task::Task ( Goal::Target  t = Goal::LOCATION,
Goal::Mode  m = Goal::VICINITY,
Group  g = INDIVIDUAL 
) [inline]

Definition at line 159 of file TerrainBase.H.

TerrainBase::Task::Task ( const Task other) [inline]

Definition at line 161 of file TerrainBase.H.


Member Data Documentation


The documentation for this struct was generated from the following file:


Generated on Fri May 18 2012 03:03:10 for ORTS by Doxygen1.7.3