📄 solarsystemviewmessage.java
字号:
/*
* SolarSystemViewMessage.java
*
* Copyright (C) 2000 Jason M. Hanley
* Released under the GNU General Public License (GPL)
* See license.txt for additional information.
*
* Created on September 1, 2000, 1:23 AM
*/
package fate.messages;
import java.io.*;
import java.util.*;
import fate.world.*;
/**
* Gives the client all the information it needs to display
* the PlanetoidView.
*
* @author preylude@s3m.com
* @version 0.1.0
*/
public class SolarSystemViewMessage extends GameMessage implements Serializable {
/** List of all planets in the solar system */
public Vector planetList;
/** Creates new SolarSystemViewMessage */
public SolarSystemViewMessage() {
planetList = new Vector();
}
/** Creates new SolarSystemViewMessage */
public SolarSystemViewMessage( SolarSystem solarSystem ) {
planetList = new Vector();
Iterator iterPlanetoid = solarSystem.mapPlanetoids.values().iterator();
while( iterPlanetoid.hasNext() ) {
planetList.add( ((Planetoid) iterPlanetoid.next()).cloneForClient() );
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -