MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / paint

Method paint

src/main/java/Menu/MenuContainer.java:200–218  ·  view source on GitHub ↗
(Graphics g)

Source from the content-addressed store, hash-verified

198 }
199
200 public void paint(Graphics g){
201 scWidth = g.getClipWidth();
202 scHeight = g.getClipHeight();
203
204 if((!leftCommand.equals("")) || (!rightCommand.equals(""))){
205 drawFooter(g);
206 if(!leftCommand.equals(""))
207 drawLeftCommand(g, leftCommand);
208
209 if(!centerCommand.equals("")) {
210 drawCenterCommand(g, centerCommand);
211 } else {
212 drawCenterCommand(g, Time.localTime());
213 }
214
215 if(!rightCommand.equals(""))
216 drawRightCommand(g, rightCommand);
217 }
218 }
219
220 public void draw (Graphics g) {
221 if (!initiated)

Callers 1

drawMethod · 0.95

Calls 8

drawFooterMethod · 0.95
drawLeftCommandMethod · 0.95
drawCenterCommandMethod · 0.95
localTimeMethod · 0.95
drawRightCommandMethod · 0.95
getClipWidthMethod · 0.45
getClipHeightMethod · 0.45
equalsMethod · 0.45

Tested by

no test coverage detected