Esempio n. 1
0
        public EntityLayer(Level level, EntityLayerDefinition definition)
            : base(level, definition)
        {
            Definition = definition;

            Entities = new List<Entity>();
        }
 public override LayerDefinition Clone()
 {
     EntityLayerDefinition def = new EntityLayerDefinition();
     def.Name = Name;
     def.Grid = Grid;
     def.ScrollFactor = ScrollFactor;
     return def;
 }
        public override LayerDefinition Clone()
        {
            EntityLayerDefinition def = new EntityLayerDefinition();

            def.Name         = Name;
            def.Grid         = Grid;
            def.ScrollFactor = ScrollFactor;
            return(def);
        }