public Horseman(GraphicsDeviceManager g, Vector2 pos, Vector2 dir) { graphics = g; position = pos; direction = dir; pixel = new Texture2D(graphics.GraphicsDevice, 1, 1); pixel.SetData(new Color[] { Color.Magenta }); moveBehaviour = new YWalk(); }
public Horseman(GraphicsDeviceManager g, Vector2 pos, Vector2 dir, TownCenter tc) { graphics = g; position = pos; direction = dir; towncenter = tc; pixel = new Texture2D(graphics.GraphicsDevice, 1, 1); pixel.SetData(new Color[] { Color.LightGreen }); moveBehaviour = new YWalk(); }
public Horseman(GraphicsDeviceManager g, Vector2 pos, Vector2 dir) { graphics = g; position = pos; direction = dir; pixel = new Texture2D(graphics.GraphicsDevice, 1, 1); pixel.SetData(new Color[] { Color.LightGreen }); #region Strategy Pattern moveBehaviour = new YWalk(); #endregion }