package sso;

import java.sql.*;
import java.util.*;

public abstract class Immobile extends GameObject
{
	// property change listeners are handled by GameObject
	// this is (for the most part) a placeholder class
	// Notice that there are no factory methods. Also, there is no tester (you
	// can't have a tester on an abstract class).

	protected Immobile()
	{
		super();
	}

	protected void init()
	{
		super.init();
	}


	// OVERRIDE method
	/**
	 *  Disallow all moves for this object and its children.
	 *  .setLocation() can still be called, but all well behaved non-editor
	 *  clients should only try calling move, right? (Keep this in mind for
	 *  interpreting client commands.)
	 */
	public boolean move(GameObject dest)
	{
		return false;
	}


	protected void createRows()
	{
		super.createRows();
	}

	public void store()
	{
		super.store();
	}

	protected void load()
	{
		super.load();
	}

	public void unregister()
	{
		super.unregister();
	}
}

