public VentilationShaft() { Interaction .Create(this) .SetPosition(449, 294) .SetDirection(Directions8.Right) .SetGetInteractionsFn(GetInteractions); HotspotMesh .Create(this) .SetCaption(Basement_Res.ventilation_shaft) .SetMesh(CreateMesh()); Enabled = false; }
public CarpetWall() { Interaction .Create(this) .SetPosition(198, 246) .SetDirection(Directions8.Left) .SetGetInteractionsFn(GetInteractions); HotspotMesh .Create(this) .SetCaption(Basement_Res.rugs) .SetMesh(CreateMesh()); Enabled = false; }
public Carpet() { Interaction .Create(this) .SetPosition(397, 275) .SetWalkToClickPosition(true) .SetDirection(Directions8.Left) .SetGetInteractionsFn(GetInteractions); HotspotMesh .Create(this) .SetCaption(Basement_Res.carpet) .SetMesh(CreateCarpetMesh()); Transform .Create(this) .SetZ(Z); Enabled = false; }