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

granatier

Public Slots | Public Member Functions | List of all members
ArenaItem Class Reference

#include <arenaitem.h>

Inheritance diagram for ArenaItem:
Inheritance graph
[legend]

Public Slots

virtual void updateGraphics (qreal svgScaleFactor)
 

Public Member Functions

 ArenaItem (qreal p_x, qreal p_y, KGameRenderer *renderer, const QString &spriteKey)
 
 ~ArenaItem ()
 

Detailed Description

This class is the graphical view of the Arena.

Definition at line 30 of file arenaitem.h.

Constructor & Destructor Documentation

ArenaItem::ArenaItem ( qreal  p_x,
qreal  p_y,
KGameRenderer *  renderer,
const QString &  spriteKey 
)

Creates a new ArenaItem instances.

Parameters
p_xthe x-coordinate
p_ythe y-coordinate
rendererthe KGameRenderer
spriteKeythe spriteKey for the ArenaItem

Definition at line 26 of file arenaitem.cpp.

ArenaItem::~ArenaItem ( )

Deletes the ArenaItem instances.

Definition at line 32 of file arenaitem.cpp.

Member Function Documentation

void ArenaItem::updateGraphics ( qreal  svgScaleFactor)
virtualslot

Updates the graphics after a resize.

Parameters
svgScaleFactorthe scaling factor between svg and rendered pixmap

Definition at line 36 of file arenaitem.cpp.


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

KDE's Doxygen guidelines are available online.

granatier

Skip menu "granatier"
  • Main Page
  • Namespace List
  • Namespace Members
  • 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