Update usage in templates

This commit is contained in:
Salman Ahmed
2023-01-11 23:44:33 +03:00
parent 9e534be044
commit e41c0e3cd7

View File

@@ -71,7 +71,7 @@ namespace FlappyDon.Game
// but changing the X-axis (ie window width) has no effect on scaling.
gameScreen.Strategy = DrawSizePreservationStrategy.Minimum;
gameScreen.TargetDrawSize = new Vector2(0, 768);
AddInternal(gameScreen);
Add(gameScreen);
// Register a method to be triggered each time the bird crosses a pipe threshold
obstacles.ThresholdCrossed = _ =>