题目内容

int getCellSize()方法可以获取()。

A. 游戏世界中的对象数目
B. 游戏世界网格的尺寸
C. 获取坐标(x,y)处的一个游戏角色对象
D. 游戏角色的坐标位置

查看答案
更多问题

int getX()返回()。

A. 鼠标光标处的X坐标
B. 本对象的Y坐标
C. 本对象的X坐标
D. 图像的高度

World类的构造方法public World(int worldWidth,int worldHeight,int cellSize,boolean bounded)中worldHeight参数表示()。

A. 场景的宽度(以坐标格为单位)
B. 场景的宽度(以像素为单位)
C. 坐标格的宽度(以像素为单位)
D. 坐标格的宽度(以坐标格为单位)

Greenfoot类控制游戏暂停运行的方法是()。

A. public static void start()
B. void started()
C. public static void stop()
D. void stopped()

Greenfoot类设置游戏的时间延迟的方法是()。

A. static String getKey()
B. int getButton()
C. void repaint()
D. static void delay(int time)

答案查题题库