public virtual void WriteToSaveGame(VFile savefile) { savefile.Write(visible); game.WriteSaveGameString(materialName, savefile); savefile.Write(width); savefile.Write(height); savefile.WriteT(color); savefile.WriteT(position); savefile.WriteT(velocity); savefile.Write(powerup); savefile.Write(removed); savefile.Write(fadeOut); }
public virtual void WriteToSaveGame(VFile savefile) { game.WriteSaveGameString(materialName, savefile); savefile.Write(width); savefile.Write(height); savefile.Write(visible); savefile.WriteT(entColor); savefile.WriteT(position); savefile.Write(rotation); savefile.Write(rotationSpeed); savefile.WriteT(velocity); savefile.Write(fadeIn); savefile.Write(fadeOut); }