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

kgoldrunner

Signals | Public Member Functions | List of all members
KGrLevelGrid Class Reference

#include <kgrlevelgrid.h>

Inheritance diagram for KGrLevelGrid:
Inheritance graph
[legend]

Signals

void showHiddenLadders (const QList< int > &ladders, const int width)
 

Public Member Functions

 KGrLevelGrid (QObject *parent, const KGrRecording *theLevelData)
 
 ~KGrLevelGrid ()
 
void calculateAccess (bool pRunThruHole)
 
char cellType (int i, int j)
 
void changeCellAt (const int i, const int j, const char type)
 
Flags enemyMoves (int i, int j)
 
int enemyOccupied (int i, int j)
 
void gotGold (const int i, const int j, const bool runnerHasGold)
 
Flags heroMoves (int i, int j)
 
void placeHiddenLadders ()
 
void setEnemyOccupied (int i, int j, const int spriteId)
 

Detailed Description

Definition at line 27 of file kgrlevelgrid.h.

Constructor & Destructor Documentation

KGrLevelGrid::KGrLevelGrid ( QObject *  parent,
const KGrRecording *  theLevelData 
)

Definition at line 20 of file kgrlevelgrid.cpp.

KGrLevelGrid::~KGrLevelGrid ( )

Definition at line 72 of file kgrlevelgrid.cpp.

Member Function Documentation

void KGrLevelGrid::calculateAccess ( bool  pRunThruHole)

Definition at line 87 of file kgrlevelgrid.cpp.

char KGrLevelGrid::cellType ( int  i,
int  j 
)
inline

Definition at line 34 of file kgrlevelgrid.h.

void KGrLevelGrid::changeCellAt ( const int  i,
const int  j,
const char  type 
)

Definition at line 113 of file kgrlevelgrid.cpp.

Flags KGrLevelGrid::enemyMoves ( int  i,
int  j 
)
inline

Definition at line 42 of file kgrlevelgrid.h.

int KGrLevelGrid::enemyOccupied ( int  i,
int  j 
)
inline

Definition at line 50 of file kgrlevelgrid.h.

void KGrLevelGrid::gotGold ( const int  i,
const int  j,
const bool  runnerHasGold 
)
inline

Definition at line 46 of file kgrlevelgrid.h.

Flags KGrLevelGrid::heroMoves ( int  i,
int  j 
)
inline

Definition at line 38 of file kgrlevelgrid.h.

void KGrLevelGrid::placeHiddenLadders ( )

Definition at line 197 of file kgrlevelgrid.cpp.

void KGrLevelGrid::setEnemyOccupied ( int  i,
int  j,
const int  spriteId 
)
inline

Definition at line 54 of file kgrlevelgrid.h.

void KGrLevelGrid::showHiddenLadders ( const QList< int > &  ladders,
const int  width 
)
signal

The documentation for this class was generated from the following files:
  • kgrlevelgrid.h
  • kgrlevelgrid.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kgoldrunner

Skip menu "kgoldrunner"
  • 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