Files
narya/tests/src/java/com/threerings/parlor/TestConfig.java
T
Michael Bayne 99a0730696 First pass at moving all of Narya test stuff into the tests directory.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@598 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-11-08 02:07:36 +00:00

49 lines
1.0 KiB
Java

//
// $Id: TestConfig.java,v 1.3 2001/11/08 02:07:36 mdb Exp $
package com.threerings.parlor;
import java.io.IOException;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import com.threerings.parlor.game.GameConfig;
public class TestConfig extends GameConfig
{
/** The foozle parameter. */
public int foozle;
public Class getControllerClass ()
{
return TestController.class;
}
public String getManagerClassName ()
{
return "com.threerings.parlor.test.TestManager";
}
// documentation inherited
public void writeTo (DataOutputStream out)
throws IOException
{
super.writeTo(out);
out.writeInt(foozle);
}
// documentation inherited
public void readFrom (DataInputStream in)
throws IOException
{
super.readFrom(in);
foozle = in.readInt();
}
protected void toString (StringBuffer buf)
{
super.toString(buf);
buf.append(", foozle=").append(foozle);
}
}