WithCrumbleOverlay for Dune 2000 buildings

This commit is contained in:
Matthias Mailänder
2013-08-17 23:24:47 +02:00
parent 32c3563a04
commit 8c6074a081
8 changed files with 334 additions and 63 deletions

View File

@@ -53,16 +53,16 @@ namespace OpenRA
public Group Group;
public int Generation;
internal Actor(World world, string name, TypeDictionary initDict )
internal Actor(World world, string name, TypeDictionary initDict)
{
var init = new ActorInitializer( this, initDict );
var init = new ActorInitializer(this, initDict);
World = world;
ActorID = world.NextAID();
if( initDict.Contains<OwnerInit>() )
if (initDict.Contains<OwnerInit>())
Owner = init.Get<OwnerInit,Player>();
occupySpace = Lazy.New( () => TraitOrDefault<IOccupySpace>() );
occupySpace = Lazy.New(() => TraitOrDefault<IOccupySpace>());
if (name != null)
{