MoonWorksGraphicsTests/Examples/Example.cs

19 lines
449 B
C#
Raw Normal View History

2024-06-05 21:19:43 +00:00
using System;
using MoonWorks;
using MoonWorks.Graphics;
2024-06-06 05:47:06 +00:00
using MoonWorks.Input;
2024-06-05 21:19:43 +00:00
namespace MoonWorksGraphicsTests;
public abstract class Example
{
protected Window Window;
2024-06-06 05:47:06 +00:00
public GraphicsDevice GraphicsDevice;
public Inputs Inputs;
2024-06-05 21:19:43 +00:00
2024-06-06 05:47:06 +00:00
public abstract void Init(Window window, GraphicsDevice graphicsDevice, Inputs inputs);
2024-06-05 21:19:43 +00:00
public abstract void Update(TimeSpan delta);
public abstract void Draw(double alpha);
public abstract void Destroy();
}