1 / 6

Rollerslam: Action Mechanisms and Percepts in Agent-Based Player Interaction

This document outlines the class diagram and functionality of agents in the game Rollerslam. It explores the different types of agents, primarily focusing on players and their interactions within a dynamic environment. Key functionalities include various actions like catch, throw, tackle, and communication. The roles of different sensors and effectors are also detailed, describing how agents perceive their environment and respond to actions. This framework provides insights into the interaction mechanisms that enable engaging gameplay experiences.

fritzi
Télécharger la présentation

Rollerslam: Action Mechanisms and Percepts in Agent-Based Player Interaction

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Rollerslam – Actions and Percepts Antonio Jose de Vasconcelos Costa - ajvc Breno Batista Machado - bbm Cleyton Mario de Oliveira Rodrigues - cmor Marcos Aurelio Almeida da Silva - maas Pablo Santana Barbosa - psb Weslei Alvim de Tarso Marinho - watm

  2. Class Diagram - Agents <<Agent>> Agent <<GoalAgent>> Player <<AutomataAgent>> Environment <<AutomataAgent>> Referee

  3. <<Interface>> IGetActions <<Percept>> + receiveActionRelease (p : Player) <<Percept>> + receiveActionCatch (p : Player) <<Percept>> + receiveActionThrow (acceleration : Vector, p : Player) <<Percept>> + receiveActionTackle (p : Player) <<Percept>> + receiveActionHitArm (p : Player) <<Percept>> + receiveActionHitLegs (p : Player) <<Percept>> + receiveActionDash (acceleration : Vector, p : Player) <<Percept>> + receiveActionKick (acceleration : Vector, p : Player) <<Percept>> + receiveActionSay (subject : Fact, p : Agent) Interfaces

  4. Class Diagram – Agents Effectors <<Effector>> SendPercepts <<Action>> + sendPerceptSee(env : EnvironmentModel) <<Action>> + sendPerceptHear (subject : Fact) <<Action>> + sendPerceptFeel (hasball: Boolean, position: Vector, velocity: Vector, acceleration: Vector) <<Agent>> Agent <<Effector>> Mouth <<Action>> +say (subject : Fact) 1 - effector <<GoalAgent>> Player <<AutomataAgent>> Referee <<AutomataAgent>> Environment 1 1 1 - arm - leg <<Effector>> Legs <<Action>> +dash (acceleration : Vector) <<Action>> +kick (acceleration : Vector) +<<Action>> hit () 1 - mouth 1 - mouth 1 1 <<Effector>> Arms <<Action>> +release () <<Action>> +catch () <<Action>> +throw (acceleration : Vector) <<Action>> +tackle () <<Action>> +hit() O antitackle será automático, quando um player receber o tackle.

  5. <<Sensor>> Eyes <<signal>> +see( ):SeePercept <<Sensor>> Ear <<signal>> +hear( ): HearPercept <<Sensor>> Body <<signal>> +feel( ): FeelPercept Class Diagram – Agents Sensors <<Interface>> IGetActions <<Agent>> Agent <<Sensor>> GetActions 1 - sensor <<GoalAgent>> Player <<AutomataAgent>> Referee <<AutomataAgent>> Environment 1 1 1 1 - body - ear 1 - eyes 1 - eyes 1

  6. <<Effector>> Mouth <<Action>> +say (subject : Fact) Class Diagram – Agent X Environment <<Sensor>> GetActions PGetArmAction PGetLegAction IGetAction IGetAction PGetMouthAction PLegAction PArmAction <<Effector>> Legs <<Action>> +dash (acceleration : Vector) <<Action>> +kick (acceleration : Vector) +<<Action>> hit () IGetAction PMouthAction <<Effector>> Arms <<Action>> +release () <<Action>> +catch () <<Action>> +throw (acceleration : Vector) <<Action>> +tackle () <<Action>> +hit()

More Related