21 lines
No EOL
396 B
C#
21 lines
No EOL
396 B
C#
using SDL2;
|
|
|
|
namespace KumiScript.Renderer
|
|
{
|
|
public class Image
|
|
{
|
|
SDLRenderer _renderer;
|
|
SDLTexture _texture;
|
|
|
|
public Image(string path, SDLRenderer renderer)
|
|
{
|
|
_renderer = renderer;
|
|
_texture = new SDLTexture(path, renderer);
|
|
}
|
|
|
|
public SDLTexture GetTexture()
|
|
{
|
|
return _texture;
|
|
}
|
|
}
|
|
} |