1 #ifndef FuncArrowShape_H_ 2 #define FuncArrowShape_H_ 4 #include <SFML/Graphics.hpp> 5 #include <SFML/Window.hpp> 6 #include <SFML/Graphics/RectangleShape.hpp> 9 #include "ArrowShape.h" 10 #include "../alignment/Edge.h" 23 sf::Vector2i indexOfDrawNode;
39 FuncArrowShape(sf::Vector2f s, sf::Vector2f e,
int sizeConstant, sf::Color col);
50 FuncArrowShape(vector<DrawNode>& Nodes,
int sizeConstant, sf::Color col,
int start,
int end,
int ind2,
float offset);
56 void setCoordsByPos(vector<DrawNode>& Nodes,
int sizeConstant,
float offset);
57 sf::Vector2i getIndexOfArrow();
69 #endif //FuncArrowShape_H_
sf::Color hovCol
the color of a hovered edge (see GraphRenderer.h)
Definition: FuncArrowShape.h:21
This Class stores the methods to draw a Arrow with a start and end coordinate.
Definition: ArrowShape.h:25
int indexOfState
the index of the edge for the state vectors (see State.h)
Definition: FuncArrowShape.h:22
This Class stores the methods to draw an arrow for the game with some functionalities.
Definition: FuncArrowShape.h:19