Av3boy / Av3boy/SharpEngine

Core: Passing window as a reference to game classes

Open
#85 0 comments 0 reactions 0 assignees View on GitHub
core enhancement question spike window
Dominant language
C#
Stars
6
Forks
0
Avg merge
1h 1m
Merged PRs (30d)
2

Description

Passing the active window to the games shouldn't be done using constructors.

Figure out the best way to make the window accessible anywhere without a direct reference. Consider a static property and take into account that there can be multiple windows.

#75 Might need to be implemented first before a smart solution for this can be implemented.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.