• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegames API Reference
  • KDE Home
  • Contact Us
 

kmahjongg

Public Member Functions | Friends | List of all members
TileCoord Class Reference

#include <TileCoord.h>

Public Member Functions

 TileCoord ()
 
 TileCoord (int xpos, int ypos, int zpos)
 
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)
 
int x () const
 
int y () const
 
int z () const
 

Friends

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

Detailed Description

This class implements.

longer description

Author
Mauricio Piacentini mauri.nosp@m.cio@.nosp@m.tabul.nosp@m.eiro.nosp@m..com

Definition at line 34 of file TileCoord.h.

Constructor & Destructor Documentation

TileCoord::TileCoord ( )
inline

Method description.

Definition at line 145 of file TileCoord.h.

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

Method description.

Parameters
xposblah blah
yposblah blah
zposblah blah

Definition at line 148 of file TileCoord.h.

Member Function Documentation

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

Method description.

Parameters
cblah
Returns
TileCoord blah

Definition at line 184 of file TileCoord.h.

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

Method description.

Parameters
tblah
Returns
TileCoord blah

Definition at line 178 of file TileCoord.h.

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

Method description.

Parameters
tblah
Returns
TileCoord blah

Definition at line 181 of file TileCoord.h.

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

Method description.

Parameters
cblah
Returns
TileCoord blah

Definition at line 208 of file TileCoord.h.

int & TileCoord::rx ( )
inline

Method description.

Definition at line 169 of file TileCoord.h.

int & TileCoord::ry ( )
inline

Method description.

Returns
int

Definition at line 172 of file TileCoord.h.

int & TileCoord::rz ( )
inline

Method description.

Returns
int

Definition at line 175 of file TileCoord.h.

void TileCoord::setX ( int  x)
inline

Method description.

Parameters
x

Definition at line 160 of file TileCoord.h.

void TileCoord::setY ( int  y)
inline

Method description.

Parameters
y

Definition at line 163 of file TileCoord.h.

void TileCoord::setZ ( int  y)
inline

Method description.

Parameters
y

Definition at line 166 of file TileCoord.h.

int TileCoord::x ( ) const
inline

Method description.

Returns
true if reason?
false if reson Method description
int

Definition at line 151 of file TileCoord.h.

int TileCoord::y ( ) const
inline

Method description.

Returns
int

Definition at line 154 of file TileCoord.h.

int TileCoord::z ( ) const
inline

Method description.

Returns
int

Definition at line 157 of file TileCoord.h.

Friends And Related Function Documentation

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

Method not equal.

Definition at line 190 of file TileCoord.h.

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

Method multiplication.

Definition at line 199 of file TileCoord.h.

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

Method multiplication.

Definition at line 202 of file TileCoord.h.

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

Method addition.

Definition at line 193 of file TileCoord.h.

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

Method subtraction.

Definition at line 196 of file TileCoord.h.

const TileCoord operator- ( const TileCoord &  p)
friend

Method subtraction.

Definition at line 205 of file TileCoord.h.

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

Method division.

Definition at line 217 of file TileCoord.h.

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

Method equals.

Definition at line 187 of file TileCoord.h.


The documentation for this class was generated from the following file:
  • TileCoord.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kmahjongg

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

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal