ggencoder.datastructures
Interface RawCode

All Known Subinterfaces:
GBGGRawCode, GenesisRawCode, NESRawCode, SNESRawCode
All Known Implementing Classes:
AbstractRawCode, BasicGBGGRawCode, BasicGenesisRawCode, BasicNESRawCode, BasicSNESRawCode

public interface RawCode

An interface for a code in RAW (non game genie encoded) format.

Version:
1.1, 07/13/04
Author:
John David Ratliff

Method Summary
 int getAddress()
          Gets the address of this code.
 int getValue()
          Gets the value of this code.
 void setAddress(int address)
          Sets the address of this code.
 void setValue(int value)
          Sets the value of this code.
 

Method Detail

getAddress

public int getAddress()
Gets the address of this code.

Returns:
The code's address.

setAddress

public void setAddress(int address)
Sets the address of this code.

Parameters:
address - The code's address.

getValue

public int getValue()
Gets the value of this code.

Returns:
The code's value.

setValue

public void setValue(int value)
Sets the value of this code.

Parameters:
value - The code's value.