source: trunk/game/scripts/objects/doors.py @ 599

Revision 584, 1.2 KB checked in by beliar, 10 years ago (diff)

Removed pylint command to ignore missing docstring at the beginning of a file, it interfered with the shebang

  • Property svn:eol-style set to native
Line 
1#!/usr/bin/env python
2
3#   This file is part of PARPG.
4
5#   PARPG is free software: you can redistribute it and/or modify
6#   it under the terms of the GNU General Public License as published by
7#   the Free Software Foundation, either version 3 of the License, or
8#   (at your option) any later version.
9
10#   PARPG is distributed in the hope that it will be useful,
11#   but WITHOUT ANY WARRANTY; without even the implied warranty of
12#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13#   GNU General Public License for more details.
14
15#   You should have received a copy of the GNU General Public License
16#   along with PARPG.  If not, see <http://www.gnu.org/licenses/>.
17
18"""Containes classes defining concrete door game objects."""
19
20__all__ = ["ShantyDoor", ]
21
22from composed import Door
23
24class ShantyDoor(Door):
25    def __init__ (self, ID, name = 'Shanty Door', text = 'A door',
26                   gfx = 'shanty-door', target_map_name = 'my-map',
27                   target_x = 0.0, target_y = 0.0, **kwargs):
28        Door.__init__(self, ID = ID, name = name, text = text, gfx = gfx,
29                      target_map_name = target_map_name,
30                      target_x = target_x,
31                      target_y = target_y, **kwargs)
Note: See TracBrowser for help on using the repository browser.