OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
WayPath Class Referencefinal

#include <waypath.h>

Public Member Functions

 WayPath ()
 
void load (Serialize &fin)
 
void save (Serialize &fout)
 
void add (const WayPoint &p)
 
void clear ()
 
void reverse ()
 
const WayPointpop ()
 
const WayPointfirst () const
 
const WayPointlast () const
 

Detailed Description

Definition at line 8 of file waypath.h.

Constructor & Destructor Documentation

◆ WayPath()

WayPath::WayPath ( )

Definition at line 6 of file waypath.cpp.

Member Function Documentation

◆ add()

void WayPath::add ( const WayPoint p)
inline

Definition at line 15 of file waypath.h.

◆ clear()

void WayPath::clear ( )

Definition at line 25 of file waypath.cpp.

◆ first()

const WayPoint * WayPath::first ( ) const

Definition at line 43 of file waypath.cpp.

◆ last()

const WayPoint * WayPath::last ( ) const

Definition at line 49 of file waypath.cpp.

◆ load()

void WayPath::load ( Serialize fin)

Definition at line 9 of file waypath.cpp.

◆ pop()

const WayPoint * WayPath::pop ( )

Definition at line 35 of file waypath.cpp.

◆ reverse()

void WayPath::reverse ( )

Definition at line 29 of file waypath.cpp.

◆ save()

void WayPath::save ( Serialize fout)

Definition at line 18 of file waypath.cpp.


The documentation for this class was generated from the following files: