Skip to content
This repository has been archived by the owner on Jan 6, 2019. It is now read-only.

Commit

Permalink
Fixed API issue in a test. noticed that make test fails now.
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Johnson <[email protected]>
  • Loading branch information
Stephen Johnson committed Apr 21, 2011
1 parent e44c6fd commit a5a8ad6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/agents/wifi/random_move.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ func (self *RandomBot) Id() uint32 {
return self.id
}

func (self *RandomBot) SetId(i uint32) {
self.id = i
}

func (self *RandomBot) Turn(comm agent.Comm) {
defer func(){self.time += 1}()

Expand Down

0 comments on commit a5a8ad6

Please sign in to comment.