This commit is contained in:
xdoxx123 2026-03-15 13:38:46 +01:00
parent f8963326fe
commit 667f9df42c
2 changed files with 3 additions and 2 deletions

View file

@ -21,7 +21,7 @@
// base damage, multiplied with velocity
const double Arrow::ARROW_BASE_DAMAGE = 2.0f;
const double Arrow::ARROW_BASE_DAMAGE = 200.0f;
// 4J - added common ctor code.
void Arrow::_init()

View file

@ -1,12 +1,13 @@
#pragma once
#include "Cow.h"
#include "Entity.h"
class MushroomCow : public Cow
{
public:
eINSTANCEOF GetType() { return eTYPE_MUSHROOMCOW; }
static Entity *create(Level *level) { return new MushroomCow(level); }
static Entity *create(Level *level) { return new LightningBolt(level); }
public:
MushroomCow(Level *level);