mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-10-04 11:35:11 -04:00
27 lines
514 B
C#
27 lines
514 B
C#
using System;
|
|
using System.IO;
|
|
|
|
namespace ClassicalSharp {
|
|
|
|
public abstract class IMapFile {
|
|
|
|
public virtual bool SupportsLoading {
|
|
get { return false; }
|
|
}
|
|
|
|
public virtual bool SupportsSaving {
|
|
get { return false; }
|
|
}
|
|
|
|
public virtual byte[] Load( Stream stream, Game game, out int width, out int height, out int length ) {
|
|
width = 0;
|
|
height = 0;
|
|
length = 0;
|
|
return null;
|
|
}
|
|
|
|
public virtual void Save( Stream stream, Game game ) {
|
|
}
|
|
}
|
|
}
|