Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
337 views
in Technique[技术] by (71.8m points)

java - 使用网豆在游戏中创造人性味[关闭](To make a human personality in a game using net beans [closed])

Question- You must complete the code for the Level 1() method.

(问题-您必须完成Level 1()方法的代码。)

The method must return an array of abc values (abc is an enumeration in the class1).

(该方法必须返回一个abc值数组(abc是class1中的一个枚举)。)

Your code should return the array which is used to draw small tiles to the screen by the class1.

(您的代码应返回由class1用于在屏幕上绘制小图块的数组。)

For example, a 2D array of only abc.GRASS values will draw an empty level of grass tiles.

(例如,只有abc.GRASS值的2D数组将绘制一个空白的草砖。)

You should code the method to produce an interesting and fun level for the player to move around.

(您应该对方法进行编码,以产生一个有趣而有趣的关卡,供玩家四处移动。)

It is suggested that you design an algorithm and then implement the algorithm in code.

(建议您设计一个算法,然后在代码中实现该算法。)

The task requires levels be generated dynamically and you should avoid hard coding a completely fixed level layout.

(该任务要求动态生成关卡,并且应避免对完全固定的关卡布局进行硬编码。)

The level should contain exactly one tile with the type abc.CAR.

(该关卡应仅包含一个类型为abc.CAR的图块。)

I have tried a bit myself but aint able to move on with the coding.

(我自己做了一些尝试,但是仍然无法继续进行编码。)

  ask by Ani translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...