예제 #1
0
 public Block(GameObjectsId id, int levelLight, bool isSourceOfLight, bool canMoveThrough)
 {
     BlockId         = id;
     LevelLight      = levelLight;
     IsSourceOfLight = isSourceOfLight;
     CanMoveThrough  = canMoveThrough;
 }
예제 #2
0
파일: Chunk.cs 프로젝트: stivosha/DontDie
 public void PutBlock(int x, int y, GameObjectsId id)
 {
     Blocks[x, y] = Config.IdToBlock[id].Clone();
 }