RA special infantry all in mod dll now

This commit is contained in:
Chris Forbes
2010-01-17 10:40:51 +13:00
parent b290d46ddc
commit e160825398
21 changed files with 82 additions and 69 deletions

View File

@@ -1,18 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using OpenRa.Graphics;
namespace OpenRa.Traits
{
abstract class RenderSimpleInfo : ITraitInfo
public abstract class RenderSimpleInfo : ITraitInfo
{
public readonly string Image = null;
public abstract object Create(Actor self);
}
abstract class RenderSimple : IRender, ITick
public abstract class RenderSimple : IRender, ITick
{
public Dictionary<string, AnimationWithOffset> anims = new Dictionary<string, AnimationWithOffset>();
public Animation anim { get { return anims[""].Animation; } protected set { anims[""].Animation = value; } }