File: quiet_season.py

package info (click to toggle)
lightyears 1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 1,324 kB
  • ctags: 454
  • sloc: python: 3,499; makefile: 2
file content (30 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 
# 20,000 Light Years Into Space
# This game is licensed under GPL v2, and copyright (C) Jack Whitham 2006-07.
# 

class Quiet_Season:
    # The quiet season is... very quiet.
    def __init__(self, net):
        self.net = net
        self.name = "Quiet"

    def Per_Frame(self, frame_time):
        pass

    def Per_Period(self):
        pass
        
    def Draw(self, output, update_area):
        pass

    def Get_Period(self):
        return 10
        
    def Get_Extra_Info(self):
        return []

    def Is_Shaking(self):
        return False