Advertisement
Kwwiker

Situation

Dec 13th, 2020
631
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None | 0 0
  1.  
  2. public class Situation {
  3.     public Situation[] direction;
  4.     public String subject;
  5.     public String text;
  6.  
  7.     public Situation(String subject, String text, int variants) {
  8.         this.subject = subject;
  9.         this.text = text;
  10.         direction = new Situation[variants];
  11.     }
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement