类的使用
me.magicall.game.sub.chess.Position
使用Position的程序包
-
me.magicall.game.battle中Position的使用
声明为Position的me.magicall.game.battle中的字段类型参数类型为Position的me.magicall.game.battle中的字段返回变量类型为Position的类型的me.magicall.game.battle中的方法 -
me.magicall.game.skill中Position的使用
参数类型为Position的me.magicall.game.skill中的方法 -
me.magicall.game.sub.chess中Position的使用
修饰符和类型方法说明static Position[][]Position.buildPositions(int rows, int columns) Position.down(int step) default PositionChessman.getPosition()Position.left(int step) Position.right(int step) Position.up(int step) 返回变量类型为Position的类型的me.magicall.game.sub.chess中的方法参数类型为Position的me.magicall.game.sub.chess中的方法修饰符和类型方法说明voidPositionGroup.addPosition(Position position) intbooleanPosition.isHigherThan(Position other) booleanPosition.isLefterThan(Position other) booleanPosition.isLowerThan(Position other) booleanPosition.isRighterThan(Position other) booleanPosition.isSameColumn(Position other) booleandefault voidChessman.setPosition(Position position)