Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
Seminar-HFO
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
Seminar-HFO
Commits
06d6e35c
Commit
06d6e35c
authored
Jan 28, 2016
by
sanmit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor edits
parent
2af17db4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
bin/teams.py
bin/teams.py
+4
-4
No files found.
bin/teams.py
View file @
06d6e35c
...
@@ -31,8 +31,6 @@ class Team(object):
...
@@ -31,8 +31,6 @@ class Team(object):
Returns a Popen process object
Returns a Popen process object
"""
"""
print
'Launch npc
%
s'
%
(
self
.
_name
)
player_cmd
=
self
.
_binary_path
player_cmd
=
self
.
_binary_path
player_cmd
+=
'
%
s'
%
(
self
.
_options
)
player_cmd
+=
'
%
s'
%
(
self
.
_options
)
if
launchOpts
!=
None
:
if
launchOpts
!=
None
:
...
@@ -62,6 +60,7 @@ class Agent2d(Team):
...
@@ -62,6 +60,7 @@ class Agent2d(Team):
launchOpts
=
None
launchOpts
=
None
if
player_num
==
1
:
if
player_num
==
1
:
launchOpts
=
'-g'
launchOpts
=
'-g'
print
'Launch npc
%
s-
%
d'
%
(
self
.
_name
,
player_num
)
return
super
(
Agent2d
,
self
)
.
launch_npc
(
launchOpts
)
return
super
(
Agent2d
,
self
)
.
launch_npc
(
launchOpts
)
class
Helios
(
Team
):
class
Helios
(
Team
):
...
@@ -78,6 +77,7 @@ class Helios(Team):
...
@@ -78,6 +77,7 @@ class Helios(Team):
launchOpts
=
None
launchOpts
=
None
if
player_num
==
1
:
if
player_num
==
1
:
launchOpts
=
'-g'
launchOpts
=
'-g'
print
'Launch npc
%
s-
%
d'
%
(
self
.
_name
,
player_num
)
return
super
(
Helios
,
self
)
.
launch_npc
(
launchOpts
)
return
super
(
Helios
,
self
)
.
launch_npc
(
launchOpts
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment