Skip to content
This repository was archived by the owner on Apr 2, 2020. It is now read-only.

Commit eeaa11a

Browse files
authored
Update list of available templates (#115)
1 parent 7212eb7 commit eeaa11a

File tree

1 file changed

+32
-10
lines changed

1 file changed

+32
-10
lines changed

Protobuild.Manager/TemplateSourcing/BuiltinTemplateSource.cs

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ public List<TemplateInfo> GetTemplates()
1010
{
1111
new TemplateInfo
1212
{
13-
TemplateName = "C# Console",
14-
TemplateDescription = "A cross-platform console application that can work on Windows, Mac OS and Linux.",
15-
TemplateURI = "https-nuget-v3://api.nuget.org/v3/index.json|Protobuild.Template.Console",
13+
TemplateName = "Protogame 2D Platformer",
14+
TemplateDescription = "A cross-platform Protogame project that runs a 2D platformer.",
15+
TemplateURI = "https-nuget-v3://api.nuget.org/v3/index.json|Protogame.Template.Platformer",
1616
AdditionalProtobuildVariants = new Dictionary<string, VariantOverlay>(),
1717
AdditionalStandardProjectVariants = new Dictionary<string, VariantOverlay>(),
1818
OptionVariants = new List<OptionalVariant>(),
@@ -21,9 +21,20 @@ public List<TemplateInfo> GetTemplates()
2121
},
2222
new TemplateInfo
2323
{
24-
TemplateName = "C# Library",
25-
TemplateDescription = "A cross-platform C# library that can work across desktop and mobile platforms.",
26-
TemplateURI = "https-nuget-v3://api.nuget.org/v3/index.json|Protobuild.Template.Library",
24+
TemplateName = "Protogame Asteroids",
25+
TemplateDescription = "An implementation of the classic game Asteroids in Protogame.",
26+
TemplateURI = "https-nuget-v3://api.nuget.org/v3/index.json|Protogame.Template.Asteroids",
27+
AdditionalProtobuildVariants = new Dictionary<string, VariantOverlay>(),
28+
AdditionalStandardProjectVariants = new Dictionary<string, VariantOverlay>(),
29+
OptionVariants = new List<OptionalVariant>(),
30+
AdditionalPlatforms = new List<string>(),
31+
Defaults = new Dictionary<string, string>(),
32+
},
33+
new TemplateInfo
34+
{
35+
TemplateName = "Protogame Panning Camera",
36+
TemplateDescription = "An example of how to do a 2D panning camera in Protogame.",
37+
TemplateURI = "https-nuget-v3://api.nuget.org/v3/index.json|Protogame.Template.PanningCamera",
2738
AdditionalProtobuildVariants = new Dictionary<string, VariantOverlay>(),
2839
AdditionalStandardProjectVariants = new Dictionary<string, VariantOverlay>(),
2940
OptionVariants = new List<OptionalVariant>(),
@@ -43,9 +54,20 @@ public List<TemplateInfo> GetTemplates()
4354
},
4455
new TemplateInfo
4556
{
46-
TemplateName = "Protogame 2D Platformer",
47-
TemplateDescription = "A cross-platform Protogame project that runs a 2D platformer.",
48-
TemplateURI = "https-nuget-v3://api.nuget.org/v3/index.json|Protogame.Template.Platformer",
57+
TemplateName = "C# Console",
58+
TemplateDescription = "A cross-platform console application that can work on Windows, Mac OS and Linux.",
59+
TemplateURI = "https-nuget-v3://api.nuget.org/v3/index.json|Protobuild.Template.Console",
60+
AdditionalProtobuildVariants = new Dictionary<string, VariantOverlay>(),
61+
AdditionalStandardProjectVariants = new Dictionary<string, VariantOverlay>(),
62+
OptionVariants = new List<OptionalVariant>(),
63+
AdditionalPlatforms = new List<string>(),
64+
Defaults = new Dictionary<string, string>(),
65+
},
66+
new TemplateInfo
67+
{
68+
TemplateName = "C# Library",
69+
TemplateDescription = "A cross-platform C# library that can work across desktop and mobile platforms.",
70+
TemplateURI = "https-nuget-v3://api.nuget.org/v3/index.json|Protobuild.Template.Library",
4971
AdditionalProtobuildVariants = new Dictionary<string, VariantOverlay>(),
5072
AdditionalStandardProjectVariants = new Dictionary<string, VariantOverlay>(),
5173
OptionVariants = new List<OptionalVariant>(),
@@ -62,7 +84,7 @@ public List<TemplateInfo> GetTemplates()
6284
OptionVariants = new List<OptionalVariant>(),
6385
AdditionalPlatforms = new List<string>(),
6486
Defaults = new Dictionary<string, string>(),
65-
}
87+
},
6688
};
6789
}
6890
}

0 commit comments

Comments
 (0)