pulling IEffect out of Bullet in prep for Explosion

This commit is contained in:
Chris Forbes
2009-10-20 18:21:42 +13:00
parent 5a67220f0e
commit 1bc3fc22c6
4 changed files with 24 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ namespace OpenRa.Game
class World
{
List<Actor> actors = new List<Actor>();
List<Bullet> bullets = new List<Bullet>();
List<IEffect> bullets = new List<IEffect>();
List<Action<World>> frameEndActions = new List<Action<World>>();
readonly Game game;
int lastTime = Environment.TickCount;
@@ -53,6 +53,6 @@ namespace OpenRa.Game
}
public IEnumerable<Actor> Actors { get { return actors; } }
public IEnumerable<Bullet> Bullets { get { return bullets; } }
public IEnumerable<IEffect> Bullets { get { return bullets; } }
}
}