|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectkinugasa.contents.resource.Storage<FieldMapBuilder>
kinugasa.field.FieldMapBuilderStorage
public final class FieldMapBuilderStorage
全てのフィールドマップビルダを格納するストレージです.
フィールドマップビルダのXMLは、kinugasaFieldMapBuilder.dtdを使用します。
フィールドマップビルダをXMLからロードする際のフォーマットはDTDを確認してください。
フィールドの概要 | |
---|---|
private int |
height
|
private static FieldMapBuilderStorage |
INSTANCE
唯一のインスタンスです. |
private int |
width
|
private int |
x
|
private int |
y
|
コンストラクタの概要 | |
---|---|
private |
FieldMapBuilderStorage()
シングルトンクラスです. |
メソッドの概要 | |
---|---|
private NodeMap |
createNodeMap(java.util.List<XMLElement> element)
NodeMapを作成します. |
private SoundMap |
createSoundMap(java.lang.String fieldMapName,
java.util.List<XMLElement> element)
SoundMapを作成します. |
int |
getHeight()
|
static FieldMapBuilderStorage |
getInstance()
インスタンスを取得します. |
int |
getWidth()
|
int |
getX()
|
int |
getY()
|
void |
readFromXML(java.lang.String filePath)
コンテンツをXMLからロードします. |
void |
setHeight(int height)
|
void |
setWidth(int width)
|
void |
setX(int x)
|
void |
setY(int y)
|
java.lang.String |
toString()
|
クラス kinugasa.contents.resource.Storage から継承されたメソッド |
---|
add, addAll, addAll, asList, clear, contains, contains, containsAll, get, getAll, getIfContains, getProperties, isEmpty, iterator, printAll, printAll, put, putAll, putAll, remove, remove, removeAll, removeAll, removeAll, size |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
---|
private static final FieldMapBuilderStorage INSTANCE
private int x
private int y
private int width
private int height
コンストラクタの詳細 |
---|
private FieldMapBuilderStorage()
メソッドの詳細 |
---|
public static FieldMapBuilderStorage getInstance()
public void readFromXML(java.lang.String filePath) throws IllegalXMLFormatException, ContentsFileNotFoundException, ContentsIOException, DuplicateNameException, java.lang.NumberFormatException
XMLFileSupport
内の readFromXML
filePath
-
IllegalXMLFormatException
ContentsFileNotFoundException
ContentsIOException
DuplicateNameException
java.lang.NumberFormatException
private SoundMap createSoundMap(java.lang.String fieldMapName, java.util.List<XMLElement> element)
fieldMapName
- サウンドマップの名前となるフィールドマップの名前を送信します。element
- BGMエレメントです。private NodeMap createNodeMap(java.util.List<XMLElement> element)
element
- NODEエレメントです。public int getX()
public void setX(int x)
public int getY()
public void setY(int y)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public java.lang.String toString()
Storage<FieldMapBuilder>
内の toString
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |