public void Draw(Enemy enemy) { RenderParam.Camera = Camera; RenderParam.Transform = enemy.Transform.WorldMatrix; //RenderParam.Alpha = 0.5f; RenderManagerAccessor.Instance.RenderModel(enemy.Model, RenderParam); }
public void DeleteEnemy(Enemy enemy) { DeleteList.Add(enemy); }
public void Update(Enemy enemy) { Enemy = enemy; PrevTransform = new AffineTransform(Transform); Update(); }