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

Public Member Functions | List of all members
PathFinderInput Class Reference

#include <pathfinder.h>

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::PathFinderInput ( )

Member Function Documentation

◆ GetGoalPos()

const Vec2i& PathFinderInput::GetGoalPos ( ) const
inline

◆ GetGoalSize()

const Vec2i& PathFinderInput::GetGoalSize ( ) const
inline

◆ GetMaxRange()

int PathFinderInput::GetMaxRange ( ) const
inline

◆ GetMinRange()

int PathFinderInput::GetMinRange ( ) const
inline

◆ GetUnit()

CUnit* PathFinderInput::GetUnit ( ) const
inline

◆ GetUnitPos()

const Vec2i & PathFinderInput::GetUnitPos ( ) const

◆ GetUnitSize()

Vec2i PathFinderInput::GetUnitSize ( ) const

◆ IsRecalculateNeeded()

bool PathFinderInput::IsRecalculateNeeded ( ) const
inline

◆ Load()

void PathFinderInput::Load ( lua_State *  l)

◆ PathRacalculated()

void PathFinderInput::PathRacalculated ( )

◆ Save()

void PathFinderInput::Save ( CFile file) const

◆ SetGoal()

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

◆ SetMaxRange()

void PathFinderInput::SetMaxRange ( int  range)

◆ SetMinRange()

void PathFinderInput::SetMinRange ( int  range)

◆ SetUnit()

void PathFinderInput::SetUnit ( CUnit _unit)

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.