11 /**
12 * Mob class.
13 */
19 MOB,
20 SAND,
21 GRAVEL
22 }
25 LEFT,
26 RIGHT
27 }
39 /**
40 * @param x in pixels
41 * @param y in pixels
42 * @param width in pixels
43 * @param height in pixels
44 * @param mDirection Direction in which mob is looking
45 */
53 }
57 }
59 /**
60 * @return The X coordinate of a mob in blocks
61 */
64 }
66 /**
67 * @return The Y coordinate of mob's upper edge in blocks
68 */
71 }
73 /**
74 * @return The Y coordinate if mob's vertical center in blocks
75 */
78 }
80 /**
81 * @return The Y coordinate of mob's legs in blocks
82 */
85 }
89 }
93 }
95 /**
96 * @return Integer representing a direction in which mob is looking, where 0 is left and 1 is right
97 */
100 }
104 }
108 }
110 /**
111 * Switches direction in which mob is looking
112 */
115 }
119 }
123 }
127 }
129 /**
130 * Set's mob's dead variable to true and nothing else. It doesn't delete the
131 */
134 }
139 }
143 }
147 }
151 }
155 }
159 }
163 }
168 }
171 }
172 }
179 }