repo.or.cz
/
Projeto-PCG.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adicionando damage para tiros
[Projeto-PCG.git]
/
platform.h
blob
603bfd8f9069f0d8295a328b5c4600a949bc9770
1
#ifndef PLATAFORM_H
2
#define PLATAFORM_H
3
4
#include
"geometry.h"
5
6
class
Platform
{
7
private
:
8
Linha line
;
9
bool
passable
;
10
public
:
11
Platform
(
Linha aline
,
bool
pass
,
double
r
,
double
g
,
double
b
);
12
Linha
getLine
() {
return
line
;};
13
bool
isPassable
() {
return
passable
;};
14
void
setPassable
() {
passable
=
true
;}
15
void
desenha
();
16
double
angle
();
17
};
18
19
#endif