public Handling(FejlType type, Vector2 position) { Type = type; Position = position; }
public Handling(FejlType type, Vector2 position, GameTime gameTime) { Type = type; Position = position; }
private void CreateForetog(FejlType type, int r, int c) { if (GlobalValues.optionsWrapper.Bane != null && GlobalValues.optionsWrapper.Bane.Name != "") { FileHandler.Instance.AddMove(GlobalValues.optionsWrapper.Barn.Id, GlobalValues.optionsWrapper.Bane.Name, type, new Vector2(c, r), GetGameTime()); } }