?? d.java
字號:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package dungeonsanddragons.model.weapons;import java.awt.Graphics;/** * * @author Administrator */public class D extends Weapon { private static String imgFile = "img/d.jpg"; public D() { super(imgFile); strenght = 60; } public void draw(Graphics g){ if(currentRoom != null){ super.draw(g); g.drawString("" + strenght, currentRoom.getX()+ 35, currentRoom.getY()+55); } }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -