forked from CleverRaven/Cataclysm-DDA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmonster_oracle.h
34 lines (28 loc) · 877 Bytes
/
monster_oracle.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once
#ifndef CATA_SRC_MONSTER_ORACLE_H
#define CATA_SRC_MONSTER_ORACLE_H
#include <iosfwd>
#include "behavior_oracle.h"
class monster;
namespace behavior
{
enum class status_t : char;
class monster_oracle_t : public oracle_t
{
public:
explicit monster_oracle_t( const monster *subject ) {
this->subject = subject;
}
/**
* Predicates used by AI to determine goals.
*/
status_t not_hallucination( const std::string & ) const;
status_t items_available( const std::string & ) const;
status_t adjacent_plants( const std::string & ) const;
status_t special_available( const std::string &special_name ) const;
status_t split_possible( const std::string & ) const;
private:
const monster *subject;
};
} // namespace behavior
#endif // CATA_SRC_MONSTER_ORACLE_H