Now that we've shown you how to write a typical script to check player input for a give set of keywords, let's look at how the actual game engine checks player input for a given keyword.
既然我们已经向你展示了如何编写在一个典型的检测玩家的输入是否存在给定的关键词集,让我们看看真正的游戏引擎是如何检测玩家输入中的关键词的。
Finally, three example programs are described, a MIDI file player, a MIDI input, and MIDI output.
文章最后描述了三个程序实例,MIDI文件播放器,MIDI输入和MIDI输出。
Notice that the input parameter of this method is of type JAXBElement, that is, it is a JAXB wrapper around a Player object.
请注意该方法的输入参数是jaxbelement类型,也就是说它是Player对象的JAXB包装。
应用推荐