Upgrades spawners to have parameters/properties and optimized timers (#6)
Upgrades spawners to have: - [X] Parameter support - [X] Property support - [X] Optimized timers - [X] Support for Proximity Spawners - [X] Probabilities
This commit is contained in:
parent
20ae1b3989
commit
1030bb7675
14 changed files with 1043 additions and 735 deletions
|
|
@ -27,6 +27,7 @@ namespace Server
|
|||
Serial Serial{ get; }
|
||||
Point3D Location{ get; }
|
||||
Map Map{ get; }
|
||||
void MoveToWorld(Point3D location, Map map);
|
||||
bool Deleted { get; }
|
||||
|
||||
void Delete();
|
||||
|
|
@ -105,6 +106,12 @@ namespace Server
|
|||
}
|
||||
}
|
||||
|
||||
public virtual void MoveToWorld(Point3D newLocation, Map map)
|
||||
{
|
||||
m_Location = newLocation;
|
||||
m_Map = map;
|
||||
}
|
||||
|
||||
public bool Deleted {
|
||||
get {
|
||||
return m_Deleted;
|
||||
|
|
@ -119,4 +126,4 @@ namespace Server
|
|||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue