Tileson 1.4.0
A helpful json parser for Tiled maps
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tson::Vector2< T > Class Template Reference

#include <Vector2.hpp>

Public Member Functions

 Vector2 (T xPos, T yPos)
 
 Vector2 ()
 
bool operator== (const Vector2 &rhs) const
 
bool operator!= (const Vector2 &rhs) const
 

Public Attributes

x
 
y
 

Constructor & Destructor Documentation

◆ Vector2() [1/2]

template<typename T >
tson::Vector2< T >::Vector2 ( xPos,
yPos 
)
inline
Template Parameters
Ttemplate type
Parameters
xPosx-position
yPosy-position

◆ Vector2() [2/2]

template<typename T >
tson::Vector2< T >::Vector2 ( )
inline

Member Function Documentation

◆ operator!=()

template<typename T >
bool tson::Vector2< T >::operator!= ( const Vector2< T > &  rhs) const
inline

◆ operator==()

template<typename T >
bool tson::Vector2< T >::operator== ( const Vector2< T > &  rhs) const
inline

Member Data Documentation

◆ x

template<typename T >
T tson::Vector2< T >::x

◆ y

template<typename T >
T tson::Vector2< T >::y

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