コード例 #1
0
ファイル: GameObject.cs プロジェクト: kjchiu/zomgame-2
 protected GameObject(string nImgLoc)
 {
     thisID = id++;
     name = "GameObject-" + thisID;
     description = "A thing.";
     graphic = new Sprite(nImgLoc);
 }
コード例 #2
0
ファイル: WanderState.cs プロジェクト: kjchiu/zomgame-2
 public WanderState(Zombie aZombie, Player nPlayer)
     : base(aZombie, nPlayer)
 {
     graphic = new Sprite("zombie_wander_bmp");
 }
コード例 #3
0
ファイル: Terrain.cs プロジェクト: kjchiu/zomgame-2
 public Terrain(string imgLoc)
 {
     graphic = new Sprite(imgLoc);
 }
コード例 #4
0
ファイル: HuntState.cs プロジェクト: kjchiu/zomgame-2
 public HuntState(Zombie aZombie, Player nPlayer)
     : base(aZombie, nPlayer)
 {
     graphic = new Sprite("zombie_hunt_bmp");
 }
コード例 #5
0
ファイル: Terrain.cs プロジェクト: kjchiu/zomgame-2
 public Terrain()
 {
     graphic = new Sprite("null_bmp");
 }