Botcraft 1.21.4
Loading...
Searching...
No Matches
CowEntity.cpp
Go to the documentation of this file.
2
3namespace Botcraft
4{
11
13 {
14
15 }
16
17
18 std::string CowEntity::GetName() const
19 {
20 return "cow";
21 }
22
24 {
25 return EntityType::Cow;
26 }
27
28
30 {
31 return "cow";
32 }
33
38
39
41 {
42 return 0.9;
43 }
44
46 {
47 return 1.4;
48 }
49
50}
static std::string GetClassName()
Definition CowEntity.cpp:29
virtual EntityType GetType() const override
Definition CowEntity.cpp:23
virtual double GetHeightImpl() const override
Definition CowEntity.cpp:45
virtual std::string GetName() const override
Definition CowEntity.cpp:18
static EntityType GetClassType()
Definition CowEntity.cpp:34
virtual double GetWidthImpl() const override
Definition CowEntity.cpp:40
std::map< EntityAttribute::Type, EntityAttribute > attributes