/// <summary> /// Start method for WallLampInteraction /// </summary> private void Start() { onInteraction = false; interacting = false; CanInteract = true; lamp = GetComponent <WallLamp>(); }
/// <summary> /// Constructor, that creates a new instance of LampDirectionAssociation /// and initializes its members /// </summary> /// <param name="_lamp">Lamp with which the association will be /// made</param> /// <param name="side">Side in which the lamp will be</param> public LampDirectionAssociation(WallLamp _lamp, WallLampDirection side) { lamp = _lamp; this.side = side; }