move global defaults to a trait (half done)

This commit is contained in:
alzeih
2010-04-02 01:42:41 +13:00
parent 939ec0408e
commit c29733da63
5 changed files with 178 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
#region Copyright & License Information
#region Copyright & License Information
/*
* Copyright 2007,2009,2010 Chris Forbes, Robert Pepperell, Matthew Bowra-Dean, Paul Chote, Alli Witheford.
* This file is part of OpenRA.
@@ -29,6 +29,7 @@ namespace OpenRA.Traits
{
public class ShroudInfo : ITraitInfo
{
public readonly int ShroudRate = 0;
public object Create(Actor self) { return new Shroud(self, this); }
}