gui2::tpoint Struct Reference

#include <helper.hpp>

List of all members.

Public Member Functions

 tpoint (const int x_, const int y_)
bool operator== (const tpoint &point) const
bool operator!= (const tpoint &point) const
bool operator< (const tpoint &point) const
bool operator<= (const tpoint &point) const
tpoint operator+ (const tpoint &point) const
tpointoperator+= (const tpoint &point)

Public Attributes

int x
int y


Detailed Description

Definition at line 29 of file helper.hpp.


Constructor & Destructor Documentation

gui2::tpoint::tpoint ( const int  x_,
const int  y_ 
) [inline]

Definition at line 31 of file helper.hpp.

Referenced by operator+().


Member Function Documentation

bool gui2::tpoint::operator== ( const tpoint point  )  const [inline]

Definition at line 39 of file helper.hpp.

References x, and y.

bool gui2::tpoint::operator!= ( const tpoint point  )  const [inline]

Definition at line 40 of file helper.hpp.

References x, and y.

bool gui2::tpoint::operator< ( const tpoint point  )  const [inline]

Definition at line 41 of file helper.hpp.

References x, and y.

bool gui2::tpoint::operator<= ( const tpoint point  )  const [inline]

Definition at line 44 of file helper.hpp.

References x, and y.

tpoint gui2::tpoint::operator+ ( const tpoint point  )  const [inline]

Definition at line 47 of file helper.hpp.

References tpoint(), x, and y.

tpoint & gui2::tpoint::operator+= ( const tpoint point  ) 

Definition at line 66 of file helper.cpp.

References x, and y.


Member Data Documentation


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs