698ebef8c847ba3f5c2a802d0ba1c045cfacd6a4
12 /**
13 * Mob class.
14 */
25 /**
26 * @param x in pixels
27 * @param y in pixels
28 * @param width in pixels
29 * @param height in pixels
30 * @param dir Direction in which mob is looking
31 */
39 }
43 }
45 /**
46 * @return The X coordinate of a mob in blocks
47 */
50 }
52 /**
53 * @return The Y coordinate of mob's upper edge in blocks
54 */
57 }
59 /**
60 * @return The Y coordinate if mob's vertical center in blocks
61 */
64 }
66 /**
67 * @return The Y coordinate of mob's legs in blocks
68 */
71 }
75 }
79 }
81 /**
82 * @return Integer representing a direction in which mob is looking, where 0 is left and 1 is right
83 */
86 }
90 }
94 }
96 /**
97 * Switches direction in which mob is looking
98 */
101 }
105 }
109 }
113 }
115 /**
116 * Set's mob's dead variable to true and nothing else. It doesn't delete the
117 */
120 }
125 }
129 }
133 }
137 }
141 }
145 }
149 }
154 }
157 }
158 }
167 MOB,
168 SAND,
169 GRAVEL
170 }
173 LEFT,
174 RIGHT
175 }
176 }