Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- namespace Grill
- {
- public class Program
- {
- public static void Main(string[] args)
- {
- Girl azusa = new Girl("Azusa");
- azusa.AddSkinFeature(new Tanlines());
- }
- }
- public class Girl
- {
- public string Name { get; set; }
- public Head Head { get; set; }
- private List<SkinFeatures> SkinFeatures = new List<SkinFeatures>();
- public Girl()
- {
- Name = "Ikutan";
- }
- public Girl(string name)
- {
- Name = name;
- }
- public void AddSkinFeature(SkinFeatures feature)
- {
- SkinFeatures.Add(feature);
- }
- public void RemoveSkinFeature(SkinFeatures feature)
- {
- SkinFeatures.Remove(feature);
- }
- }
- public class SkinFeatures
- {
- }
- public class Tanlines : SkinFeatures
- {
- }
- public class Head
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement