Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface IActor
- {
- //actor stuff
- }
- public class BaseShip : IActor
- {
- //base ship stuff
- }
- public class PlayerShip: BaseShip
- {
- //Only the stuff for this particular ship
- }
- IActor player = new PlayerShip();
- List<IActor> actors = new List<IActor>(){new PlayerShip()};
Add Comment
Please, Sign In to add comment