MCPcopy Create free account
hub / github.com/demoth/jake2 / DrawCharacter

Method DrawCharacter

client/src/main/java/jake2/client/Menu.java:333–336  ·  view source on GitHub ↗
(int cx, int cy, int num)

Source from the content-addressed store, hash-verified

331 * and will be centered on higher res screens. ================
332 */
333 private static void DrawCharacter(int cx, int cy, int num) {
334 ClientGlobals.re.DrawChar(cx + ((ClientGlobals.viddef.getWidth() - 320) >> 1), cy
335 + ((ClientGlobals.viddef.getHeight() - 240) >> 1), num);
336 }
337
338 public static void Print(int cx, int cy, String str) {
339 //while (*str)

Callers 3

PrintMethod · 0.95
PrintWhiteMethod · 0.95
DrawTextBoxMethod · 0.95

Calls 3

getWidthMethod · 0.80
getHeightMethod · 0.80
DrawCharMethod · 0.65

Tested by

no test coverage detected