public TwoUnitBuildingContextMenu(Vector2 Position) : base() { pos = Position; unitBubbleTimerIn = new Timer(GlobalConstants.CONTEXT_BUBBLE_TIME, false); level.RegisterUpdatableObject(unitBubbleTimerIn); unitBubbleTimerOut = new Timer(GlobalConstants.CONTEXT_BUBBLE_TIME, false); level.RegisterUpdatableObject(unitBubbleTimerOut); unitCountBubbleTimerIn = new Timer(GlobalConstants.CONTEXT_BUBBLE_TIME, false); level.RegisterUpdatableObject(unitCountBubbleTimerIn); unitCountBubbleTimerOut = new Timer(GlobalConstants.CONTEXT_BUBBLE_TIME, false); level.RegisterUpdatableObject(unitCountBubbleTimerOut); touchedBubble = -1; isTouchingA = false; isTouchingB = false; isAroundA = false; isAroundB = false; isTouchingCount = new bool[] { false, false, false, false}; }
public Building() { contextTimer = new Timer(GlobalConstants.CONTEXT_MENU_START_TIME, false); level.RegisterUpdatableObject(contextTimer); }
public FactionAsset() : base() { contextTimer = new Timer(GlobalConstants.CONTEXT_MENU_START_TIME, false); level.RegisterUpdatableObject(contextTimer); }