Diplo
 All Classes Namespaces Functions Variables Properties
Public Member Functions | List of all members
Diplo.Graph.Robot.Operations.Move Class Reference

Typ akcie pre robota - POHYB, simuluje interakciu s grafom - pohyb s vrcholom. More...

Inheritance diagram for Diplo.Graph.Robot.Operations.Move:
Diplo.Graph.Robot.Operations.Operation

Public Member Functions

 Move (int vertexPosition, int newX, int newY)
  More...
 
void performAction (Graph mGraph)
  More...
 

Detailed Description

Typ akcie pre robota - POHYB, simuluje interakciu s grafom - pohyb s vrcholom.

Constructor & Destructor Documentation

Diplo.Graph.Robot.Operations.Move.Move ( int  vertexPosition,
int  newX,
int  newY 
)

Vytvorenie operácie - POHYB, uloží sa index vrcholu s ktorým sa bude hýbať a kám sa presunie.

Parameters
vertexPositionIndex vrcholu z grafu
newXnová X poloha
newYnová Y poloha

Member Function Documentation

void Diplo.Graph.Robot.Operations.Move.performAction ( Graph  mGraph)

Vykonanie akcie. Zmení sa poloha vrcholu.

Parameters
mGraph

Implements Diplo.Graph.Robot.Operations.Operation.


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