added falling sand - dirt actually
This commit is contained in:
@@ -2,7 +2,7 @@ using FOU.Scripts;
|
||||
using Godot;
|
||||
|
||||
public partial class Main : Node2D {
|
||||
[Export] public int BrushSize = 10;
|
||||
[Export] public int BrushSize = 5;
|
||||
|
||||
private TextureRect mLevelDrawer;
|
||||
private Level mLevel;
|
||||
@@ -13,6 +13,8 @@ public partial class Main : Node2D {
|
||||
}
|
||||
|
||||
public override void _Process(double delta) {
|
||||
|
||||
mLevel.Update();
|
||||
mLevelDrawer.Texture = ImageTexture.CreateFromImage(mLevel.DrawLevel());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user