mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-24 21:11:26 +00:00
44 lines
556 B
Text
44 lines
556 B
Text
|
class DukeAtomicHealth : DukeActor
|
||
|
{
|
||
|
default
|
||
|
{
|
||
|
pic "ATOMICHEALTH";
|
||
|
}
|
||
|
|
||
|
override void Initialize()
|
||
|
{
|
||
|
commonItemSetup();
|
||
|
self.cstat |= CSTAT_SPRITE_YCENTER;
|
||
|
}
|
||
|
|
||
|
override bool animate(tspritetype t)
|
||
|
{
|
||
|
t.pos.Z -= 4;
|
||
|
t.shade = -127;
|
||
|
return false;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class RedneckGoogooCluster : DukeActor
|
||
|
{
|
||
|
default
|
||
|
{
|
||
|
pic "ATOMICHEALTH";
|
||
|
}
|
||
|
|
||
|
override void Initialize()
|
||
|
{
|
||
|
commonItemSetup((0.125, 0.125));
|
||
|
self.cstat |= CSTAT_SPRITE_YCENTER;
|
||
|
}
|
||
|
|
||
|
override bool animate(tspritetype t)
|
||
|
{
|
||
|
t.pos.Z -= 4;
|
||
|
t.shade = -127;
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|