public static bool AreEqual(WordLocation value, WordLocation compare) { if (value.X != compare.X) return false; if (value.Y != compare.Y) return false; return true; }
public static bool AreInequal(WordLocation value, WordLocation compare) { return !AreEqual(value, compare); }
public void SetLocation(int x, int y) { Location = new WordLocation(x, y); }
public void SetLocation(WordLocation location) { Location = location; }
public CrozzleWord(string word, int x, int y) { Word = word; Location = new WordLocation(x,y); }
public CrozzleWord(string word, WordLocation location) { Word = word; Location = location; }
public CrozzleWord(string word, int score) { Word = word; Score = score; Location = new WordLocation(-1, -1); ; }