void ClickToCreakZombie() //测试性生成僵尸功能 { NormalZombie normalZombie = zombieFactory.CreatZombie(BitmapManager.NormalZombieBitmaps); normalZombie.m_g = g; normalZombie.SetDrawFactory(); Zombielist.Add(normalZombie); }
public void DrawItem(IDrawFactory drawFactory, Graphics g, NormalZombie normalZombie) { drawFactory.TargetDraw(normalZombie.bitmap, g, normalZombie.Location.X, normalZombie.Location.Y); }
public NormalZombie CreatZombie(Bitmap[] bitmaps) { NormalZombie normalZombie = new NormalZombie(bitmaps); return(normalZombie); }