Exemple #1
0
        public override void Load(System.IO.BinaryReader reader)
        {
            byte data = reader.ReadByte();

            TileType = (OverworldTileType)(data >> 4);
            Alt      = (byte)(data & 0xF);
        }
Exemple #2
0
 public OverworldTile(int x, int y, OverworldMap map)
     : base(x, y)
 {
     myMap    = map;
     TileType = OverworldTileType.Blank;
 }