Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F620798
FantasmaRojo.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
409 B
Referenced Files
None
Subscribers
None
FantasmaRojo.cpp
View Options
#include
"FantasmaRojo.hpp"
#include
"Pacman.hpp"
FantasmaRojo
::
FantasmaRojo
(
Tablero
&
mitablero
,
Pacman
&
j
,
Puntuacion
&
p
,
int
x
,
int
y
)
:
Fantasma
(
mitablero
,
j
,
p
,
x
,
y
,
id_fantasma
)
{
//ctor
}
void
FantasmaRojo
::
moverNormal
()
{
auto
ruta
=
getRutaMasCorta
(
getPosition
(),
jugador
.
getPosition
());
ultimaPosicion
=
ruta
[
ruta
.
size
()
-1
];
escogerRutaMasCorta
(
ruta
,
getPosition
(),
jugador
.
getPosition
());
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sat, Nov 14, 6:27 PM (1 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
134236
Default Alt Text
FantasmaRojo.cpp (409 B)
Attached To
Mode
R73 Comecocos
Attached
Detach File
Event Timeline