Skip to content

Commit

Permalink
Editor: added comment to BuildTargetsInfo class
Browse files Browse the repository at this point in the history
This is just to make a record of a problem in program architecture
  • Loading branch information
ivan-mogilko committed Nov 5, 2023
1 parent 209c3cd commit 5b3ddf6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Editor/AGS.Types/BuildTargetsInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@

namespace AGS.Types
{
// FIXME: this class should not be in AGS.Types at all.
// There should not be any global static collections of interface-implementing
// objects in AGS.Types. Also - no hardcoded target names.
// Keep in mind: AGS.Types may be linked to virtually any program, not just Editor.
// Unfortunately it's coupled in AGS.Types.Settings. Need to find out how to
// decouple it, use assigned reference, or delegate, or anything.
public class BuildTargetsInfo
{
public const string DATAFILE_TARGET_NAME = "DataFile";
Expand Down

0 comments on commit 5b3ddf6

Please sign in to comment.