Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Pick your poison and don't duplicate code you dirty noob
- ---
- public class Turn {
- private Action action = null;
- private Take take = null;
- public Turn(Action action) : this (action, null) {}
- public Turn(Action action, Take take) {
- this.action = action;
- this.take = take;
- }
- }
- ---
- public class Turn {
- private Action action = null;
- private Take take = null;
- public Turn(Action action) {
- this.action = action;
- }
- public Turn(Action action, Take take) : this(action) {
- this.take = take;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement