Advertisement
shadowplaycoding

P027_Planet

Mar 4th, 2018
184
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.  
  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 float production = 2;
  14.  
  15.     public Planet(string name, string type)
  16.     {
  17.         this.planetName = name;
  18.         this.planetType = type;
  19.  
  20.         this.starBase = null;
  21.     }
  22.  
  23.     /*
  24.    Copyright Shadowplay Coding 2017 - see www.shadowplaycoding.com for licensing details
  25.    Removing this comment forfits any rights given to the user under licensing.
  26.    */
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement