public static void FlipStatue(BaseStatueDeed statue, int StatueID) { if (IsOdd(StatueID)) { statue.StatueID = statue.StatueID + 1; } else { statue.StatueID = statue.StatueID - 1; } Statues.DirectionStatue(statue, statue.StatueID); }
public BaseStatueDeed(int vStatueID, int vStatueColor, string vStatueMaterial, string vStatueMaker, string vStatueName) { Name = "statue"; ItemID = 0x32F0; Weight = 10; if (StatueID < 1) { StatueID = vStatueID; StatueColor = vStatueColor; StatueMaterial = vStatueMaterial; StatueMaker = vStatueMaker; StatueName = vStatueName; Hue = StatueColor; Name = StatueName; } Statues.DirectionStatue(this, StatueID); StatueName = Name; }