Skip to content

Commit 1fa32fa

Browse files
committed
Updates README.md
Updates GUID of project for re-release Updates nuget scripts
1 parent 9d6000a commit 1fa32fa

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

InputStateManager/Inputs.nuspec renamed to InputStateManager/InputStateManager.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
<id>$id$</id>
55
<version>$version$</version>
6-
<title>InputStateManager</title>
6+
<title>$title$</title>
77
<authors>Unterrainer Informatik OG Team</authors>
88
<owners>Public Domain</owners>
99
<licenseUrl>http://unlicense.org</licenseUrl>

InputStateManager/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: ComVisible(false)]
2121

2222
// The following GUID is for the ID of the typelib if this project is exposed to COM
23-
[assembly: Guid("48d4510a-1d34-4f2f-b8d1-72617109b28f")]
23+
[assembly: Guid("0c4c545b-94c2-4ad2-8cf2-be659dd85b10")]
2424

2525
// Version information for an assembly consists of the following four values:
2626
//

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ Currently it provides convenience-methods in a fluent manner for:
4040
### Setup
4141

4242
```c#
43-
private readonly InputStateManager input = new InputStateManager();
43+
// Due to a naming-clash you'll need the following line in your imports:
44+
using Mouse = InputStateManager.Inputs.Mouse;
45+
46+
// Now lets create a manager for our inputs:
47+
private readonly InputManager input = new InputManager();
4448
...
4549

4650
/// <summary>
@@ -52,6 +56,7 @@ protected override void Update(GameTime gameTime)
5256
{
5357
if (input.Pad.Is.Press(Buttons.Back) || input.Key.Is.Press(Keys.Escape))
5458
Exit();
59+
// Update the manager so that it can record changes:
5560
input.Update();
5661
base.Update(gameTime);
5762
}

nuget_pack.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
nuget pack -sym InputStateManager\Inputs.csproj
1+
nuget pack -sym InputStateManager\InputStateManager.csproj
22
rem When targeting release-builds, add: -Prop Configuration=Release

0 commit comments

Comments
 (0)