Move surface contracts to model
This commit is contained in:
14
engine/Age.Engine/Model/SurfaceContracts.cs
Normal file
14
engine/Age.Engine/Model/SurfaceContracts.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace Age.Engine.Model;
|
||||
|
||||
public readonly record struct SurfaceRectFill(
|
||||
int SurfaceSlot, int X, int Y, int Width, int Height, int Alpha, long Rgb);
|
||||
|
||||
public readonly record struct SurfaceRectCopy(
|
||||
int SourceSurface, int DestinationSurface, int SourceX, int SourceY,
|
||||
int Width, int Height, int DestinationX, int DestinationY);
|
||||
|
||||
public enum SurfaceBlackFadeDirection
|
||||
{
|
||||
FromBlack,
|
||||
ToBlack,
|
||||
}
|
||||
Reference in New Issue
Block a user