mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
test
This commit is contained in:
parent
f8963326fe
commit
667f9df42c
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
|
|
||||||
// base damage, multiplied with velocity
|
// 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.
|
// 4J - added common ctor code.
|
||||||
void Arrow::_init()
|
void Arrow::_init()
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,13 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Cow.h"
|
#include "Cow.h"
|
||||||
|
#include "Entity.h"
|
||||||
|
|
||||||
class MushroomCow : public Cow
|
class MushroomCow : public Cow
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
eINSTANCEOF GetType() { return eTYPE_MUSHROOMCOW; }
|
eINSTANCEOF GetType() { return eTYPE_MUSHROOMCOW; }
|
||||||
static Entity *create(Level *level) { return new MushroomCow(level); }
|
static Entity *create(Level *level) { return new LightningBolt(level); }
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MushroomCow(Level *level);
|
MushroomCow(Level *level);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue