Advertisement
shadowplaycoding

P023_StarBase

Jul 15th, 2017
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.60 KB | None | 0 0
  1. ?using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. public class StarBase {
  6.  
  7.     public List<Ship> buildCue;
  8.  
  9.     public StarBase()
  10.     {
  11.         this.buildCue = new List<Ship>();
  12.     }
  13.  
  14.     public void AddShipToBuildCue(Ship ship)
  15.     {
  16.         buildCue.Add(ship);
  17.     }
  18.  
  19.     public void RemoveShipFromBuildCue(Ship ship)
  20.     {
  21.         buildCue.Remove(ship);
  22.     }
  23.  
  24.     /*
  25.     Copyright Shadowplay Coding 2017 - see www.shadowplaycoding.com for licensing details
  26.     Removing this comment forfits any rights given to the user under licensing.
  27.     */
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement