$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_Repair Class Reference

#include <action_repair.h>

Inheritance diagram for COrder_Repair:

COrder

List of all members.


action_repair.cpp - The repair 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)

Public Member Functions

 COrder_Repair ()
virtual COrder_RepairClone () const
const CUnitPtrGetReparableTarget () const

Friends

COrderCOrder::NewActionRepair (CUnit &unit, CUnit &target)
COrderCOrder::NewActionRepair (const Vec2i &pos)

Constructor & Destructor Documentation

COrder_Repair::COrder_Repair (  )  [inline]


Member Function Documentation

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

Implements COrder.

bool COrder_Repair::IsValid (  )  const [virtual]

Implements COrder.

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

Implements COrder.

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

Implements COrder.

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

Implements COrder.

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

Implements COrder.

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

Implements COrder.

const CUnitPtr& COrder_Repair::GetReparableTarget (  )  const [inline]


Friends And Related Function Documentation

COrder* COrder::NewActionRepair ( CUnit unit,
CUnit target 
) [friend]

COrder* COrder::NewActionRepair ( const Vec2i pos  )  [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.