Skip to content

Commit

Permalink
removed annoying copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
bitcraft committed Apr 3, 2012
1 parent 2b73c3f commit ce739d5
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 171 deletions.
Binary file modified pirate.prof
Binary file not shown.
20 changes: 2 additions & 18 deletions pirate.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
"""
Copyright 2010, 2011 Leif Theden
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

"""
lets make a drunk pirate.
Expand Down Expand Up @@ -50,6 +33,7 @@ def load_commands(agent, path):

[ agent.add_action(a) for a in global_actions.values() ]


def is_female(precept):
try:
thing = precept.thing
Expand Down Expand Up @@ -100,7 +84,7 @@ def run_once():

elif time == 3:
rum = ObjectBase("rum")
#pirate.add_goal(HasItemGoal(pirate, rum))
pirate.add_goal(HasItemGoal(pirate, rum))
formosa.add_thing(rum)

elif time == 5:
Expand Down
17 changes: 0 additions & 17 deletions pygoap/actions.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
"""
Copyright 2010, 2011 Leif Theden
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

"""
These are the building blocks for creating pyGOAP agents that are able to
interact with their environment in a meaningful way.
Expand Down
17 changes: 0 additions & 17 deletions pygoap/agent.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
"""
Copyright 2010, 2011 Leif Theden
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

from environment import ObjectBase
from planning import plan, InstancedAction
from blackboard import Blackboard, MemoryManager, Tag
Expand Down
17 changes: 0 additions & 17 deletions pygoap/blackboard.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
"""
Copyright 2010, 2011 Leif Theden
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

"""
Memories are stored precepts.
A blackboard is a device to share information amongst actions.
Expand Down
17 changes: 0 additions & 17 deletions pygoap/environment.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
"""
Copyright 2010, 2011 Leif Theden
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

"""
Since a pyGOAP agent relies on cues from the environment when planning, having
a stable and efficient virtual environment is paramount.
Expand Down
17 changes: 0 additions & 17 deletions pygoap/environment2d.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
"""
Copyright 2010, 2011 Leif Theden
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

"""
Since a pyGOAP agent relies on cues from the environment when planning, having
a stable and efficient virtual environment is paramount. This environment is
Expand Down
17 changes: 0 additions & 17 deletions pygoap/goals.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
"""
Copyright 2010, 2011 Leif Theden
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

"""
Goals in the context of a pyGOAP agent give the planner some direction when
planning. Goals are known to the agent and are constantly monitored and
Expand Down
34 changes: 0 additions & 34 deletions pygoap/planning.py
Original file line number Diff line number Diff line change
@@ -1,37 +1,3 @@
"""
Copyright 2010, 2011 Leif Theden
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

"""
Copyright 2010, 2011 Leif Theden
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

from blackboard import Blackboard
from heapq import heappop, heappush, heappushpop
import sys
Expand Down
17 changes: 0 additions & 17 deletions pygoap/tiledenvironment.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
"""
Copyright 2010, 2011 Leif Theden
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""

from environment2d import XYEnvironment
import tmxloader
from pygame import Surface
Expand Down

0 comments on commit ce739d5

Please sign in to comment.