//Properties are name a colour public override HackableProperty[] getPropeties() { HackableProperty[] hackableProperties = new HackableProperty[1]; hackableProperties [0] = keyIDProperty; hackableProperties [1] = colourProperty; return(hackableProperties); }
//gets the hackable properties for the hack menu public override HackableProperty[] getPropeties() { //Only colour can be changed HackableProperty[] properties = new HackableProperty[1]; properties [0] = colourProperty; return(properties); }
//Gets the the hack properties for the hack menu public override HackableProperty[] getPropeties() { HackableProperty[] properties = new HackableProperty[3]; properties [0] = colourProperty; properties [1] = isLocked; properties [2] = keyCode; return(properties); }
//Checks to see if a given object has the same value as this one public override bool isDifferent(HackableProperty property) { return(((HackableNumber)property).value != this.value); }
//The only property is the colour property public override HackableProperty[] getPropeties() { HackableProperty[] properties = new HackableProperty[1]; properties [0] = colourProperty; return(properties); }
//Checks to see if this property has different contents to that of a given object of the same class public override bool isDifferent(HackableProperty property) { return(((HackableEnum)property).valueIndex != this.valueIndex); }
//Checks to see if the properties are different public override bool isDifferent(HackableProperty property) { return(!((HackableString)property).value.Equals(this.value)); }
public string name; //The name of the property //Coppies data from a property into this object protected void superCopy(HackableProperty property) { this.name = property.name; }
//Checks if the hackable property is different to this one public abstract bool isDifferent(HackableProperty property);