public CellContents(string name, Location location, Level level) { Name = name; //用于区分子类的名称 Location = location; //当前内容所在的位置 Level = level; //当前Level对象实例 }