~kubuntu-members/kapman/4.11

« back to all changes in this revision

Viewing changes to energizer.cpp

  • Committer: Pierre-Benoit Besse
  • Date: 2008-08-15 11:43:49 UTC
  • Revision ID: git-v1:89f706af55b38ee770ceb235d4dfe581e41f028c
- All images are now in a single SVG file
- Small improvments in preformances by fixing some mistakes

svn path=/trunk/playground/games/kapman/; revision=847429

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
const int Energizer::POINTS = 50;
24
24
 
25
 
Energizer::Energizer(qreal p_x, qreal p_y, Maze* p_maze, const QString& p_imageUrl) :  Element(p_x, p_y, p_maze) {
26
 
        Element::setImageUrl(p_imageUrl);
 
25
Energizer::Energizer(qreal p_x, qreal p_y, Maze* p_maze, const QString& p_imageId) :  Element(p_x, p_y, p_maze) {
 
26
        Element::setImageId(p_imageId);
27
27
        m_points = 50;
28
28
        m_type = Element::ENERGYZER;
29
29
}