示例#1
0
文件: World.cs 项目: HotCod/Roguelike
 //Public wrapper for OnStaticObjectChanged
 public void ChangedStaticObject (Floor tile, IStaticObject Obj)
 {
     StaticObjectChangedArgs a = new StaticObjectChangedArgs();
     a.x = tile.X;
     a.y = tile.Y;
     a.SObject = Obj;
     OnStaticObjectChanged(a);
 }
示例#2
0
文件: Actor.cs 项目: HotCod/Roguelike
        public Hero (Floor tile) 
            : base (tile)
        {

        }
示例#3
0
文件: Actor.cs 项目: HotCod/Roguelike
 public Actor (Floor tile)
 {
     this.Tile = tile;
     tile.Actor = this;
 }