Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Nez.Samples/Scenes/Samples/Empty Scene/BasicScene.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ public class BasicScene : SampleScene
{
public override void Initialize()
{
base.Initialize();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why remove the call to base?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SampleScene don't have Initialize, and Initialize in Scene is empty.


// default to 1280x720 with no SceneResolutionPolicy
SetDesignResolution(1280, 720, SceneResolutionPolicy.None);
Screen.SetSize(1280, 720);
Expand All @@ -20,4 +18,4 @@ public override void Initialize()
playerEntity.AddComponent(new SpriteRenderer(moonTex));
}
}
}
}