• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kmahjongg

TileCoord Class Reference

#include <TileCoord.h>

List of all members.


Detailed Description

This class implements.

longer description

Author:
Mauricio Piacentini <mauricio@tabuleiro.com>

Definition at line 34 of file TileCoord.h.


Public Member Functions

bool isNull () const
TileCoord & operator *= (qreal c)
TileCoord & operator+= (const TileCoord &t)
TileCoord & operator-= (const TileCoord &t)
TileCoord & operator/= (qreal c)
int & rx ()
int & ry ()
int & rz ()
void setX (int x)
void setY (int y)
void setZ (int y)
 TileCoord (int xpos, int ypos, int zpos)
 TileCoord ()
int x () const
int y () const
int z () const

Friends

const TileCoord operator * (qreal, const TileCoord &)
const TileCoord operator * (const TileCoord &, qreal)
bool operator!= (const TileCoord &, const TileCoord &)
const TileCoord operator+ (const TileCoord &, const TileCoord &)
const TileCoord operator- (const TileCoord &)
const TileCoord operator- (const TileCoord &, const TileCoord &)
const TileCoord operator/ (const TileCoord &, qreal)
bool operator== (const TileCoord &, const TileCoord &)

Constructor & Destructor Documentation

TileCoord::TileCoord (  )  [inline]

Method description.

Definition at line 146 of file TileCoord.h.

TileCoord::TileCoord ( int  xpos,
int  ypos,
int  zpos 
) [inline]

Method description.

Parameters:
xpos blah blah
ypos blah blah
zpos blah blah

Definition at line 149 of file TileCoord.h.


Member Function Documentation

bool TileCoord::isNull (  )  const [inline]

Method description.

Returns:
true if reason?

false if reson

Definition at line 152 of file TileCoord.h.

TileCoord & TileCoord::operator *= ( qreal  c  )  [inline]

Method description.

Parameters:
c blah
Returns:
TileCoord blah

Definition at line 188 of file TileCoord.h.

TileCoord & TileCoord::operator+= ( const TileCoord &  t  )  [inline]

Method description.

Parameters:
t blah
Returns:
TileCoord blah

Definition at line 182 of file TileCoord.h.

TileCoord & TileCoord::operator-= ( const TileCoord &  t  )  [inline]

Method description.

Parameters:
t blah
Returns:
TileCoord blah

Definition at line 185 of file TileCoord.h.

TileCoord & TileCoord::operator/= ( qreal  c  )  [inline]

Method description.

Parameters:
c blah
Returns:
TileCoord blah

Definition at line 212 of file TileCoord.h.

int & TileCoord::rx (  )  [inline]

Method description.

Definition at line 173 of file TileCoord.h.

int & TileCoord::ry (  )  [inline]

Method description.

Returns:
int

Definition at line 176 of file TileCoord.h.

int & TileCoord::rz (  )  [inline]

Method description.

Returns:
int

Definition at line 179 of file TileCoord.h.

void TileCoord::setX ( int  x  )  [inline]

Method description.

Parameters:
x 

Definition at line 164 of file TileCoord.h.

void TileCoord::setY ( int  y  )  [inline]

Method description.

Parameters:
y 

Definition at line 167 of file TileCoord.h.

void TileCoord::setZ ( int  y  )  [inline]

Method description.

Parameters:
y 

Definition at line 170 of file TileCoord.h.

int TileCoord::x (  )  const [inline]

Method description.

Returns:
int

Definition at line 155 of file TileCoord.h.

int TileCoord::y (  )  const [inline]

Method description.

Returns:
int

Definition at line 158 of file TileCoord.h.

int TileCoord::z (  )  const [inline]

Method description.

Returns:
int

Definition at line 161 of file TileCoord.h.


Friends And Related Function Documentation

const TileCoord operator * ( qreal  c,
const TileCoord &  p 
) [friend]

Method multiplication.

Definition at line 206 of file TileCoord.h.

const TileCoord operator * ( const TileCoord &  p,
qreal  c 
) [friend]

Method multiplication.

Definition at line 203 of file TileCoord.h.

bool operator!= ( const TileCoord &  p1,
const TileCoord &  p2 
) [friend]

Method not equal.

Definition at line 194 of file TileCoord.h.

const TileCoord operator+ ( const TileCoord &  p1,
const TileCoord &  p2 
) [friend]

Method addition.

Definition at line 197 of file TileCoord.h.

const TileCoord operator- ( const TileCoord &  p  )  [friend]

Method subtraction.

Definition at line 209 of file TileCoord.h.

const TileCoord operator- ( const TileCoord &  p1,
const TileCoord &  p2 
) [friend]

Method subtraction.

Definition at line 200 of file TileCoord.h.

const TileCoord operator/ ( const TileCoord &  p,
qreal  c 
) [friend]

Method division.

Definition at line 221 of file TileCoord.h.

bool operator== ( const TileCoord &  p1,
const TileCoord &  p2 
) [friend]

Method equals.

Definition at line 191 of file TileCoord.h.


The documentation for this class was generated from the following file:
  • TileCoord.h

kmahjongg

Skip menu "kmahjongg"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

API Reference

Skip menu "API Reference"
  • kblackbox
  • kgoldrunner
  • kmahjongg
  • ksquares
  • libkdegames
  •   highscore
  •   kgame
  •   kggzgames
  •   kggzmod
  •   kggznet
  • libkmahjongg
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal