create.java
来自「Vyger offers a D & D and Rogue-like envi」· Java 代码 · 共 22 行
JAVA
22 行
package wotlas.common.action.spell;import wotlas.common.universe.*;import wotlas.server.*;import wotlas.common.*;import wotlas.common.screenobject.*;import wotlas.common.router.*;public class Create extends Spell { String name; public Create(String name) { this.name = name; } public void CastToMap(WotlasLocation loc, int x, int y) { TileMap map = ServerDirector.getDataManager().getWorldManager().getTileMap(loc); // System.out.println("create :"+itemKey); map.getMessageRouter().addScreenObject( new ItemOnTheScreen(x,y,name) ); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?