moagg.level.converter
Class BricksRandomizer
java.lang.Object
moagg.level.converter.BricksRandomizer
public class BricksRandomizer
- extends java.lang.Object
Helper application for randomizing the "brick" tiles.
Randomizing means, that the first nibble of each tile-id
is set to a random value between 1 and 3.
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
randomize(java.io.File file)
|
protected boolean |
randomizeMap(java.io.DataInputStream is,
java.io.DataOutputStream os)
|
protected void |
randomizeMap(java.io.File map)
|
protected boolean |
randomizeMapV1(java.io.DataInputStream is,
java.io.DataOutputStream os)
|
protected boolean |
randomizeMapV2(java.io.DataInputStream is,
java.io.DataOutputStream os)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MISSION_PATH
public static final java.lang.String MISSION_PATH
- See Also:
- Constant Field Values
BricksRandomizer
public BricksRandomizer()
randomize
public void randomize(java.io.File file)
throws java.lang.Exception
- Throws:
java.lang.Exception
randomizeMap
protected void randomizeMap(java.io.File map)
throws java.lang.Exception
- Throws:
java.lang.Exception
randomizeMap
protected boolean randomizeMap(java.io.DataInputStream is,
java.io.DataOutputStream os)
throws java.lang.Exception
- Throws:
java.lang.Exception
randomizeMapV1
protected boolean randomizeMapV1(java.io.DataInputStream is,
java.io.DataOutputStream os)
throws java.lang.Exception
- Throws:
java.lang.Exception
randomizeMapV2
protected boolean randomizeMapV2(java.io.DataInputStream is,
java.io.DataOutputStream os)
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
Copyright © 2008. All Rights Reserved.