27 lines
380 B
C++
27 lines
380 B
C++
#pragma once
|
|
|
|
#include "animal.hpp"
|
|
|
|
namespace game
|
|
{
|
|
|
|
class Cow : public Animal
|
|
{
|
|
public:
|
|
using Super = Animal;
|
|
|
|
Cow(World& world, const glm::vec3& position, float yaw);
|
|
|
|
protected:
|
|
virtual void OnPassengerChanged(size_t seat_idx, HumanCharacter* passenger) override;
|
|
|
|
private:
|
|
void ScheduleRandomMoo();
|
|
void PlayRandomMoo();
|
|
void PlayUseSound();
|
|
|
|
|
|
};
|
|
|
|
|
|
} |