git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1213 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
chrisf
2007-07-13 17:35:07 +00:00
parent f7bff84ce2
commit c77a2588bd
21 changed files with 184 additions and 206 deletions

31
OpenRa.Game/Sprite.cs Normal file
View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace OpenRa.Game
{
class Sprite
{
public readonly Point origin;
public readonly Size size;
public readonly Sheet sheet;
public readonly TextureChannel channel;
internal Sprite(Sheet sheet, Point origin, Size size, TextureChannel channel)
{
this.origin = origin;
this.size = size;
this.sheet = sheet;
this.channel = channel;
}
}
public enum TextureChannel
{
Red,
Green,
Blue,
Alpha,
}
}