$treeview $search $mathjax
Stratagus  2.2.7
$projectbrief
$projectbrief
$searchbox
-->
         _________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

COrder_Patrol Class Reference

#include <action_patrol.h>

Inheritance diagram for COrder_Patrol:

COrder

List of all members.


Public Member Functions

 COrder_Patrol ()
virtual COrder_PatrolClone () const
const Vec2iGetWayPoint () const
action_patrol.cpp - The patrol action.
virtual bool IsValid () const
virtual void Save (CFile &file, const CUnit &unit) const
virtual bool ParseSpecificData (lua_State *l, int &j, const char *value, const CUnit &unit)
virtual void Execute (CUnit &unit)
virtual PixelPos Show (const CViewport &vp, const PixelPos &lastScreenPos) const
virtual void UpdatePathFinderData (PathFinderInput &input)

Friends

COrderCOrder::NewActionPatrol (const Vec2i &currentPos, const Vec2i &dest)

Constructor & Destructor Documentation

COrder_Patrol::COrder_Patrol (  )  [inline]


Member Function Documentation

virtual COrder_Patrol* COrder_Patrol::Clone (  )  const [inline, virtual]

Implements COrder.

bool COrder_Patrol::IsValid (  )  const [virtual]

Implements COrder.

void COrder_Patrol::Save ( CFile file,
const CUnit unit 
) const [virtual]

Implements COrder.

bool COrder_Patrol::ParseSpecificData ( lua_State *  l,
int &  j,
const char *  value,
const CUnit unit 
) [virtual]

Implements COrder.

void COrder_Patrol::Execute ( CUnit unit  )  [virtual]

Implements COrder.

PixelPos COrder_Patrol::Show ( const CViewport vp,
const PixelPos lastScreenPos 
) const [virtual]

Implements COrder.

void COrder_Patrol::UpdatePathFinderData ( PathFinderInput input  )  [virtual]

Implements COrder.

const Vec2i& COrder_Patrol::GetWayPoint (  )  const [inline]


Friends And Related Function Documentation

COrder* COrder::NewActionPatrol ( const Vec2i currentPos,
const Vec2i dest 
) [friend]


The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.