Advertisement
shadowplaycoding

P003_Star

Apr 29th, 2017
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.61 KB | None | 0 0
  1. using UnityEngine;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4.  
  5. public class Star {
  6.  
  7.     public string starName { get; protected set; }
  8.     public int numberOfPlanets { get; protected set; }
  9.  
  10.     public List<Planet> planetList;
  11.  
  12.     public Star(string name, int planets)
  13.     {
  14.         this.starName = name;
  15.         this.numberOfPlanets = planets;
  16.  
  17.         this.planetList = new List<Planet>();
  18.     }
  19.  
  20.     /*
  21.    Copyright Shadowplay Coding 2016 - see www.shadowplaycoding.com for licensing details
  22.    Removing this comment forfits any rights given to the user under licensing.
  23.    */
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement