mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2025-07-06 20:45:26 +08:00
Module fixes
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
namespace Strawberry.Sample
|
||||
{
|
||||
public class MovingJumpThru : OldJumpThru
|
||||
public class MovingJumpThru : JumpThru
|
||||
{
|
||||
private Point moveFrom;
|
||||
private Point moveTo;
|
||||
|
@ -7,11 +7,12 @@ namespace Strawberry.Sample
|
||||
{
|
||||
static public int Main(String[] args)
|
||||
{
|
||||
let sdl = scope SDL2PlatformLayer();
|
||||
sdl.TexturesEnableEdgeClamping = true;
|
||||
let game = scope SampleGame(sdl);
|
||||
let sdl = scope SDL2PlatformLayer("Strawberry Sample Game!", 320, 180, 3);
|
||||
sdl.TextureClamping = true;
|
||||
PlatformLayer = sdl;
|
||||
|
||||
Engine.Run(scope SampleGame());
|
||||
|
||||
game.Run();
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@ -4,8 +4,7 @@ namespace Strawberry.Sample
|
||||
{
|
||||
public class SampleGame : Game
|
||||
{
|
||||
public this(PlatformLayer platformLayer)
|
||||
: base(platformLayer, "Strawberry Sample Game!", 320, 180, 3, 1)
|
||||
protected override void Started()
|
||||
{
|
||||
Controls.Init();
|
||||
Scene = new Level();
|
||||
|
Reference in New Issue
Block a user