added things
This commit is contained in:
27
fordulo_3/Program/Doboz.cs
Normal file
27
fordulo_3/Program/Doboz.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Program
|
||||
{
|
||||
internal class Doboz
|
||||
{
|
||||
public string Type { get; set; }
|
||||
|
||||
public Doboz Children = null;
|
||||
|
||||
public Doboz Parent = null;
|
||||
|
||||
public Doboz(string Type) {
|
||||
this.Type = Type;
|
||||
}
|
||||
|
||||
public void AddChildren(Doboz doboz)
|
||||
{
|
||||
doboz.Parent = this;
|
||||
this.Children = doboz;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user