repo.or.cz
/
sdlbotor.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Screenshots with F9.
[sdlbotor.git]
/
DTile.cpp
blob
ab30100d02b2b297e94585743fe1e12600c1cc44
1
#include
"DTile.h"
2
3
namespace
botor
4
{
5
6
DTile
::
DTile
(
Tileset
*
set
,
unsigned int
T
)
7
{
8
this
->
set
=
set
;
9
this
->
T
=
T
;
10
}
11
12
DTile
::~
DTile
() {}
13
14
void
DTile
::
setTile
(
unsigned int
T
)
15
{
16
this
->
T
=
T
;
17
}
18
19
void
DTile
::
Draw
(
Sint16 X
,
Sint16 Y
)
20
{
21
set
->
Draw
(
X
,
Y
,
T
);
22
}
23
24
}