Show / Hide Table of Contents

Class SpaceVillainArcadeSystem

Inheritance
System.Object
SpaceVillainArcadeSystem
Namespace: Content.Server.Arcade.SpaceVillain
Assembly: Content.Server.dll
Syntax
public sealed class SpaceVillainArcadeSystem : EntitySystem

Methods

| Improve this Doc View Source

GenerateEnemyName(SpaceVillainArcadeComponent)

Generates an enemy-name comprised of a first- and last-name.

Declaration
public string GenerateEnemyName(SpaceVillainArcadeComponent arcade)
Parameters
Type Name Description
SpaceVillainArcadeComponent arcade
Returns
Type Description
System.String

An enemy-name.

| Improve this Doc View Source

GenerateFightVerb(SpaceVillainArcadeComponent)

Picks a fight-verb from the list of possible Verbs.

Declaration
public string GenerateFightVerb(SpaceVillainArcadeComponent arcade)
Parameters
Type Name Description
SpaceVillainArcadeComponent arcade
Returns
Type Description
System.String

A fight-verb.

| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

ProcessWin(EntityUid, SpaceVillainArcadeComponent, Nullable<TransformComponent>)

Called when the user wins the game. Dispenses a prize if the arcade machine has any left.

Declaration
public void ProcessWin(EntityUid uid, SpaceVillainArcadeComponent arcade = null, TransformComponent? xform = null)
Parameters
Type Name Description
EntityUid uid
SpaceVillainArcadeComponent arcade
System.Nullable<TransformComponent> xform
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾