Problem in monogame with DPSF particle generator

Viewed 39

I'm trying to use DPSF to generate effects like smoke and fire in 3d for my video game but I am facing problems. I have properly installed MonoGame, in which I have already developed a large part of the game but now that I find myself realizing the effects when I try to use DPSF it gives me this error:

Errore CS0012 Il tipo 'Game' è definito in un assembly di cui manca il riferimento. Aggiungere un riferimento all'assembly 'Microsoft.Xna.Framework.Game, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553'.

class DefaultTexturedQuadParticleSystemTemplate : DefaultTexturedQuadParticleSystem
{
    public DefaultTexturedQuadParticleSystemTemplate(Game cGame) : base(cGame) { }
}

The error is given by the base keyword, the references are all there. I don't know what to do to solve the problem. Could someone help me, please?

1 Answers
Related