Advertisement
shadowplaycoding

P022_Planet

Jun 29th, 2017
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.51 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 bool planetColonised = false;
  10.  
  11.     public Planet(string name, string type)
  12.     {
  13.         this.planetName = name;
  14.         this.planetType = type;
  15.     }
  16.  
  17.     /*
  18.    Copyright Shadowplay Coding 2017 - see www.shadowplaycoding.com for licensing details
  19.    Removing this comment forfits any rights given to the user under licensing.
  20.    */
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement