Ignore:
Timestamp:
2014-07-25 12:29:43 (5 years ago)
Author:
anlakane
Message:

Esittelyversio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2014/30/MiskaK/The Reclaim/The Reclaim/The Reclaim/The Reclaim/Entrance.cs

    r5652 r5689  
    3838 
    3939    public bool Capturing { get; private set; } 
     40 
     41    public bool SpawningEnabled { get; set; } 
    4042 
    4143    public Entrance(Vector position, double radius, Owner owner, int secondsToCapture) 
     
    7274        this.SpawnTimer.Timeout += delegate { Spawn(); }; 
    7375        this.SpawnTimer.Start(); 
     76        this.SpawningEnabled = true; 
    7477    } 
    7578 
     
    195198    { 
    196199        if (Capturing) return; 
     200        if (!SpawningEnabled) return; 
     201 
    197202        switch (CurrentOwner) 
    198203        { 
Note: See TracChangeset for help on using the changeset viewer.