Total Complexity | 2 |
Total Lines | 10 |
Duplicated Lines | 0 % |
Coverage | 100% |
1 | # -*- coding: utf-8 -*- |
||
10 | 1 | class FrontMarker(BaseStructure): |
|
11 | 1 | __slots__ = ['id', 'belligerent', 'pos', ] |
|
12 | |||
13 | 1 | def __init__(self, id, belligerent, pos): |
|
14 | 1 | self.id = id |
|
15 | 1 | self.belligerent = belligerent |
|
16 | 1 | self.pos = pos |
|
17 | |||
18 | 1 | def __repr__(self): |
|
19 | 1 | return "<FrontMarker '{0}'>".format(self.id) |
|
20 | |||
41 |