$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

PathFinderInput Class Reference

#include <pathfinder.h>

List of all members.


Public Member Functions

CUnitGetUnit () const
const Vec2iGetGoalPos () const
const Vec2iGetGoalSize () const
int GetMinRange () const
int GetMaxRange () const
bool IsRecalculateNeeded () const
pathfinder.cpp - The path finder routines.
 PathFinderInput ()
const Vec2iGetUnitPos () const
Vec2i GetUnitSize () const
void SetUnit (CUnit &_unit)
void SetGoal (const Vec2i &pos, const Vec2i &size)
void SetMinRange (int range)
void SetMaxRange (int range)
void PathRacalculated ()
unit_save.cpp - Save unit.
void Save (CFile &file) const
script_unit.cpp - The unit ccl functions.
void Load (lua_State *l)

Constructor & Destructor Documentation

PathFinderInput::PathFinderInput (  ) 


Member Function Documentation

CUnit* PathFinderInput::GetUnit (  )  const [inline]

const Vec2i & PathFinderInput::GetUnitPos (  )  const

Vec2i PathFinderInput::GetUnitSize (  )  const

const Vec2i& PathFinderInput::GetGoalPos (  )  const [inline]

const Vec2i& PathFinderInput::GetGoalSize (  )  const [inline]

int PathFinderInput::GetMinRange (  )  const [inline]

int PathFinderInput::GetMaxRange (  )  const [inline]

bool PathFinderInput::IsRecalculateNeeded (  )  const [inline]

void PathFinderInput::SetUnit ( CUnit _unit  ) 

void PathFinderInput::SetGoal ( const Vec2i pos,
const Vec2i size 
)

void PathFinderInput::SetMinRange ( int  range  ) 

void PathFinderInput::SetMaxRange ( int  range  ) 

void PathFinderInput::PathRacalculated (  ) 

void PathFinderInput::Save ( CFile file  )  const

void PathFinderInput::Load ( lua_State *  l  ) 


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.