Last change
on this file was 111, checked in by ruud, 8 weeks ago |
Modifications for automatic java to python conversion. Overloaded methods now have different names.
|
File size:
671 bytes
|
Line | |
---|
1 | # Generated from java by J2P
|
---|
2 | from __future__ import annotations
|
---|
3 | from abc import ABC
|
---|
4 | from pyson.JsonSubTypes import JsonSubTypes
|
---|
5 | from pyson.JsonTypeInfo import JsonTypeInfo, Id, As
|
---|
6 |
|
---|
7 |
|
---|
8 | @JsonTypeInfo(use=Id.NAME,include=As.WRAPPER_OBJECT)
|
---|
9 | @JsonSubTypes(["geniusweb.inform.ActionDone.ActionDone","geniusweb.inform.Inform.Inform","geniusweb.inform.Settings.Settings","geniusweb.inform.Finished.Finished","geniusweb.inform.YourTurn.YourTurn","geniusweb.inform.Voting.Voting","geniusweb.inform.OptIn.OptIn","geniusweb.inform.OptInWithValue.OptInWithValue"])
|
---|
10 | class Inform(ABC):
|
---|
11 | '''
|
---|
12 | base class of all information sent to a Party
|
---|
13 |
|
---|
14 | '''
|
---|
15 |
|
---|
16 | def __init__(self):
|
---|
17 | super().__init__()
|
---|
Note:
See
TracBrowser
for help on using the repository browser.