mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 02:13:38 +00:00
20 lines
276 B
C++
20 lines
276 B
C++
#pragma once
|
|
|
|
#include "Control.h"
|
|
|
|
class Mob;
|
|
|
|
class JumpControl : public Control {
|
|
private:
|
|
Mob* mob;
|
|
bool _jump;
|
|
|
|
public:
|
|
JumpControl(Mob* mob);
|
|
virtual ~JumpControl() {}
|
|
|
|
void jump();
|
|
// genuinly, why tf is this VIRTUAL
|
|
virtual void tick();
|
|
};
|