Esempio n. 1
0
        public CabinetLock()
        {
            HotspotRectangle
            .Create(this)
            .SetCaption(Basement_Res._lock)
            .SetRectangle(694, 165, 10, 14);

            Interaction
            .Create(this)
            .SetPosition(698, 250)
            .SetDirection(Directions8.Up)
            .SetGetInteractionsFn(GetInteractions);

            Transform
            .Create(this)
            .SetPosition(695, 165)
            .SetZ(3);

            Sprite
            .Create(this)
            .SetImage(content.rooms.basement.cabinetlock);

            Enabled = false;
        }