Advertisement
shadowplaycoding

P023_Planet

Jul 15th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.58 KB | None | 0 0
  1. ?using UnityEngine;
  2. using System.Collections;
  3.  
  4. public class Planet {
  5.  
  6.     public string planetName { get; set; }
  7.     public string planetType { get; set; }
  8.  
  9.     public StarBase starBase;
  10.  
  11.     public bool planetColonised = false;
  12.  
  13.     public Planet(string name, string type)
  14.     {
  15.         this.planetName = name;
  16.         this.planetType = type;
  17.  
  18.         this.starBase = null;
  19.     }
  20.  
  21.     /*
  22.    Copyright Shadowplay Coding 2017 - see www.shadowplaycoding.com for licensing details
  23.    Removing this comment forfits any rights given to the user under licensing.
  24.    */
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement