Files
MonoGame.Extended/Source/MonoGame.Extended.Tiled/Graphics/Effects/TiledMapEffect.cs
T
Lucas Girouard-StranksandDylan Wilson 3a164d5385 Tiled Fix (#349)
* Tiled fix.

* Remove bat file.
2017-03-05 09:18:11 +10:00

33 lines
758 B
C#

using System;
using Microsoft.Xna.Framework.Graphics;
namespace MonoGame.Extended.Graphics.Effects
{
public class TiledMapEffect : DefaultEffect, ITiledMapEffect
{
public TiledMapEffect(GraphicsDevice graphicsDevice)
: base(graphicsDevice)
{
Initialize();
}
public TiledMapEffect(GraphicsDevice graphicsDevice, byte[] byteCode)
: base(graphicsDevice, byteCode)
{
Initialize();
}
public TiledMapEffect(Effect cloneSource)
: base(cloneSource)
{
Initialize();
}
private void Initialize()
{
VertexColorEnabled = false;
TextureEnabled = true;
}
}
}