소스 검색

Update ant image

Bastien Sevajol 9 년 전
부모
커밋
bc01183ca1
3개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 0
      config.py
  2. BIN
      socialintengine/display/pygame/image/ant2.png
  3. 2 2
      socialintengine/display/pygame/visualisation.py

+ 3 - 0
config.py 파일 보기

@@ -39,6 +39,9 @@ config = {
39 39
             'font': {
40 40
                 'name': 'arial',
41 41
                 'size': 13
42
+            },
43
+            'background': {
44
+              'color': (125, 125, 125)
42 45
             }
43 46
         }
44 47
     }

BIN
socialintengine/display/pygame/image/ant2.png 파일 보기


+ 2 - 2
socialintengine/display/pygame/visualisation.py 파일 보기

@@ -5,8 +5,8 @@ from socialintengine.synergy.object.Rock import Rock
5 5
 from os import getcwd
6 6
 
7 7
 # TODO: Url relative au fichier
8
-ant = PygameImage(getcwd()+'/socialintengine/display/pygame/image/ant.png')
9
-bug = PygameImage(getcwd()+'/socialintengine/display/pygame/image/bug.png')
8
+ant = PygameImage(getcwd()+'/socialintengine/display/pygame/image/ant2.png')
9
+bug = PygameImage(getcwd()+'/socialintengine/display/pygame/image/ant2.png')
10 10
 rock = PygameImage(getcwd()+'/socialintengine/display/pygame/image/rock.png')
11 11
 
12 12
 visualisation = {