repo.or.cz
/
kgcqgv.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Removed debug messages.
[kgcqgv.git]
/
element.h
blob
3d5306293a3785aca973b8bf11e408b009ec4e61
1
#ifndef ELEMENT_H
2
#define ELEMENT_H
3
4
#include
"defs.h"
5
6
class
Element
{
7
QPointF m_position
;
8
QPointF m_velocity
;
9
10
ITEM
*
m_item
;
11
public
:
12
Element
(
SCENE
*
scene
,
const
QPoint
&
pos
);
13
~
Element
();
14
15
QPointF
position
()
const
;
16
void
setPosition
(
const
QPointF
&
pos
);
17
18
QPointF
velocity
()
const
;
19
void
setVelocity
(
const
QPointF
&
vel
);
20
21
QPoint
size
()
const
;
22
};
23
24
#endif
// ELEMENT_H