public virtual void ReadFromSaveGame(VFile savefile, GameBustOutWindow game) { this.game = game; savefile.Read(out visible); game.ReadSaveGameString(out materialName, savefile); SetMaterial(materialName); savefile.Read(out width); savefile.Read(out height); savefile.ReadT(out color); savefile.ReadT(out position); savefile.ReadT(out velocity); savefile.Read(out powerup); savefile.Read(out removed); savefile.Read(out fadeOut); }
public virtual void ReadFromSaveGame(VFile savefile, GameBearShootWindow game) { this.game = game; game.ReadSaveGameString(out materialName, savefile); SetMaterial(materialName); savefile.Read(out width); savefile.Read(out height); savefile.Read(out visible); savefile.ReadT(out entColor); savefile.ReadT(out position); savefile.Read(out rotation); savefile.Read(out rotationSpeed); savefile.ReadT(out velocity); savefile.Read(out fadeIn); savefile.Read(out fadeOut); }