mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-15 15:09:29 +00:00
168d8fbc36
* Refactor particle system * Use correct alloc * Use original ParticleIterator imlementation for zero allications. * Move ParticleIterator to its own class instead of a nested class * Mark nullable * Add fallback mechanism for loading textures when it's an image file and not an xnb
21 lines
491 B
C#
21 lines
491 B
C#
// Copyright (c) Craftwork Games. All rights reserved.
|
|
// Licensed under the MIT license.
|
|
// See LICENSE file in the project root for full license information.
|
|
|
|
using Microsoft.Xna.Framework;
|
|
using Microsoft.Xna.Framework.Content;
|
|
|
|
namespace MonoGame.Extended.Tests;
|
|
|
|
public class MockContentManager : ContentManager
|
|
{
|
|
public MockContentManager() : base(new GameServiceContainer())
|
|
{
|
|
}
|
|
|
|
public override T Load<T>(string assetName)
|
|
{
|
|
return default(T);
|
|
}
|
|
}
|