mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-10 23:47:14 +00:00
15 lines
507 B
C++
15 lines
507 B
C++
#pragma once
|
|
|
|
#include "Item.h"
|
|
|
|
class SaddleItem : public Item {
|
|
public:
|
|
SaddleItem(int id);
|
|
|
|
virtual bool interactEnemy(std::shared_ptr<ItemInstance> itemInstance,
|
|
std::shared_ptr<Player> player,
|
|
std::shared_ptr<LivingEntity> mob);
|
|
virtual bool hurtEnemy(std::shared_ptr<ItemInstance> itemInstance,
|
|
std::shared_ptr<LivingEntity> mob,
|
|
std::shared_ptr<LivingEntity> attacker);
|
|
}; |