Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Is the NuGet package up to date?

$
0
0

@Romans_I_XVI wrote:

So I wanted to check out the MonoGame.Extended package, it looks really helpful. I installed from NuGet and wanted to check out the InputListeners. I tried the code from the demos on github...

var mouseListener = new MouseListener(new MouseListenerSettings());

The result is an error...

/home/asojka09/Development/MonoGame/monoEngine/monoEngine/monoEngine/GameRoot.cs(24,24): Error CS0122: `MonoGame.Extended.InputListeners.MouseListener.MouseListener(MonoGame.Extended.InputListeners.MouseListenerSettings)' is inaccessible due to its protection level (CS0122) (MonoGame-Tiles)

Then browsing the NuGet package of Extended I see that the constructor for MouseListener is

internal MouseListener (MouseListenerSettings settings)

From what I see on github this was how MouseListener used to be but got to changed to public now. Is the problem that the package isn't up to date, or am I doing something wrong? Also this is on Arch Linux with MonoDevelop if that matters.

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles