📄 buffon.java
字号:
// Copyright James Marshall 2003. Freely distributable under the GNU General Public Licencepackage buffon;import swarm.Globals;import buffon.ExperimentSwarm;import buffon.ObserverSwarm;class Buffon{ public static void main(String args[]) { // replace ObserverSwarm with ExperimentSwarm for experimental mode ObserverSwarm topSwarm; Globals.env.initSwarm("Buffon", "0.0", "James.A.Marshall@ic.ac.uk", args); topSwarm = new ObserverSwarm(Globals.env.globalZone); topSwarm.buildObjects(); topSwarm.buildActions(); topSwarm.activateIn(null); topSwarm.go(); topSwarm.drop(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -