Advertisement
shadowplaycoding

P002_Star

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