Bug 705910
2013-10-21
Check the indices goes correctly
|
This class represents the transfer cost. More...
#include <movecost.h>
Public Member Functions | |
移動費用 (const wchar_t *i場所) | |
constructor More... | |
virtual | ~移動費用 () |
destructor More... | |
int | 徒歩 () |
by walking More... | |
int | 自転車 () |
by bicycle More... | |
int | 自動車 () |
by car More... | |
int | 鉄道 () |
by train More... | |
int | 船舶 () |
by ship More... | |
int | 飛行機 () |
by airplane More... | |
int | 瞬間移動 () |
by teleportation More... | |
Protected Attributes | |
wchar_t * | 場所 |
The place to trasfer, given by constructor. | |
This class represents the transfer cost.
The transfer cost is given by each methods.
|
inline |
constructor
i場所 | the place you want to transfer |
|
inlinevirtual |
destructor
Only to make this class inheritable. Do nothing.
|
inline |
by walking
Returns tho cost by walking.
|
inline |
by teleportation
Returns tho cost by teleportation.
|
inline |
by car
Returns tho cost by car.
|
inline |
by bicycle
Returns tho cost by bicycle.
|
inline |
by ship
Returns tho cost by ship.
|
inline |
by train
Returns tho cost by train.
|
inline |
by airplane
Returns tho cost by airplane.