---
key: resource/state-pattern
type: resource
id: state-pattern
lang: ru
title: 'Состояния: Game Programming Patterns'
summary: 'Авторская глава о конечных автоматах, состояниях и переходах.'
updatedAt: null
status: active
url: 'https://gamemechanics.pro/ru/resources/#resource-state-pattern'
jsonUrl: 'https://gamemechanics.pro/api/v1/knowledge/ru/resource/state-pattern.json'
markdownUrl: 'https://gamemechanics.pro/content/knowledge/ru/resource/state-pattern.md'
aliases: []
tags:
  - book
  - ''
  - foundations
sourceIds:
  - source-3817d420df0baa92
sources:
  - id: source-3817d420df0baa92
    title: 'Состояния: Game Programming Patterns'
    url: >-
      https://github.com/munificent/game-programming-patterns/blob/master/book/state.markdown
    verifiedAt: null
relations:
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: lesson/state-machines
    title: Состояния и переходы
    url: 'https://gamemechanics.pro/ru/lessons/state-machines/'
    jsonUrl: 'https://gamemechanics.pro/api/v1/knowledge/ru/lesson/state-machines.json'
    markdownUrl: 'https://gamemechanics.pro/content/knowledge/ru/lesson/state-machines.md'
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: catalog/activity-simulators
    title: Симуляторы занятий и профессий
    url: 'https://gamemechanics.pro/ru/mechanics/activity-simulators/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/catalog/activity-simulators.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/catalog/activity-simulators.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/activity-simulators--t127
    title: 'Фермерство, садоводство и животноводство'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t127/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/activity-simulators--t127.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/activity-simulators--t127.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/activity-simulators--t128
    title: 'Готовка, рецепты и работа кухни'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t128/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/activity-simulators--t128.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/activity-simulators--t128.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/activity-simulators--t129
    title: 'Рыбалка, охота и добывающие промыслы'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t129/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/activity-simulators--t129.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/activity-simulators--t129.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/activity-simulators--t131
    title: 'Уборка, сортировка и восстановление'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t131/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/activity-simulators--t131.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/activity-simulators--t131.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/activity-simulators--t132
    title: 'Строительство, земляные работы и техника'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t132/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/activity-simulators--t132.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/activity-simulators--t132.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/activity-simulators--t133
    title: 'Медицина, спасение и аварийные службы'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t133/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/activity-simulators--t133.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/activity-simulators--t133.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/activity-simulators--t134
    title: Расследование технических происшествий
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t134/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/activity-simulators--t134.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/activity-simulators--t134.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/activity-simulators--t135
    title: 'Проверка документов, инспекция и контроль'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t135/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/activity-simulators--t135.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/activity-simulators--t135.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/activity-simulators--t136
    title: 'Доставка, диспетчеризация и обслуживание клиентов'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t136/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/activity-simulators--t136.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/activity-simulators--t136.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/activity-simulators--t137
    title: Научные эксперименты и работа с приборами
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t137/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/activity-simulators--t137.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/activity-simulators--t137.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/activity-simulators--t138
    title: 'Симуляторы бизнеса, офиса и бюрократии'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t138/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/activity-simulators--t138.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/activity-simulators--t138.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: catalog/melee-combat
    title: Ближний бой и боевые системы
    url: 'https://gamemechanics.pro/ru/mechanics/melee-combat/'
    jsonUrl: 'https://gamemechanics.pro/api/v1/knowledge/ru/catalog/melee-combat.json'
    markdownUrl: 'https://gamemechanics.pro/content/knowledge/ru/catalog/melee-combat.md'
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/melee-combat--t011
    title: Рукопашный бой и beat ’em up
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t011/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/melee-combat--t011.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/melee-combat--t011.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/melee-combat--t012
    title: Файтинг и дуэли
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t012/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/melee-combat--t012.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/melee-combat--t012.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/melee-combat--t013
    title: Комбо и character action
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t013/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/melee-combat--t013.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/melee-combat--t013.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/melee-combat--t014
    title: Soulslike и управление выносливостью
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t014/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/melee-combat--t014.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/melee-combat--t014.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/melee-combat--t015
    title: Hack and slash
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t015/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/melee-combat--t015.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/melee-combat--t015.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/melee-combat--t016
    title: 'Блокирование, парирование и контратаки'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t016/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/melee-combat--t016.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/melee-combat--t016.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/melee-combat--t017
    title: 'Захваты, броски и борьба'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t017/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/melee-combat--t017.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/melee-combat--t017.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/melee-combat--t018
    title: Бой с толпой и контроль пространства
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t018/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/melee-combat--t018.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/melee-combat--t018.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/melee-combat--t020
    title: 'Разрушаемые части, ранения и состояния'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t020/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/melee-combat--t020.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/melee-combat--t020.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: catalog/progression-rewards
    title: 'Прогрессия, награды и удержание'
    url: 'https://gamemechanics.pro/ru/mechanics/progression-rewards/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/catalog/progression-rewards.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/catalog/progression-rewards.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/progression-rewards--t240
    title: Открытие возможностей и расширение пространства действий
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/progression-rewards--t240/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/progression-rewards--t240.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/progression-rewards--t240.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/progression-rewards--t241
    title: 'Коллекции, альбомы и заполнение наборов'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/progression-rewards--t241/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/progression-rewards--t241.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/progression-rewards--t241.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/progression-rewards--t242
    title: 'Достижения, испытания и мастерство'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/progression-rewards--t242/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/progression-rewards--t242.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/progression-rewards--t242.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/progression-rewards--t243
    title: 'Лут, редкость и распределение наград'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/progression-rewards--t243/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/progression-rewards--t243.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/progression-rewards--t243.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/progression-rewards--t244
    title: 'Idle, incremental и офлайн-прогресс'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/progression-rewards--t244/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/progression-rewards--t244.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/progression-rewards--t244.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/progression-rewards--t245
    title: 'Престиж, сброс и повторное развитие'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/progression-rewards--t245/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/progression-rewards--t245.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/progression-rewards--t245.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: catalog/role-playing-systems
    title: Ролевые системы
    url: 'https://gamemechanics.pro/ru/mechanics/role-playing-systems/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/catalog/role-playing-systems.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/catalog/role-playing-systems.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/role-playing-systems--t049
    title: Создание персонажа и распределение характеристик
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t049/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/role-playing-systems--t049.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/role-playing-systems--t049.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/role-playing-systems--t050
    title: 'Классы, специализации и смена ролей'
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t050/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/role-playing-systems--t050.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/role-playing-systems--t050.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/role-playing-systems--t051
    title: Билды и синергии способностей
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t051/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/role-playing-systems--t051.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/role-playing-systems--t051.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/role-playing-systems--t052
    title: Партийные роли и состав отряда
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t052/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/role-playing-systems--t052.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/role-playing-systems--t052.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/role-playing-systems--t053
    title: 'Снаряжение, аффиксы и наборы предметов'
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t053/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/role-playing-systems--t053.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/role-playing-systems--t053.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/role-playing-systems--t054
    title: 'Статусы, стихии и сопротивления'
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t054/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/role-playing-systems--t054.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/role-playing-systems--t054.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/role-playing-systems--t055
    title: Развитие навыков через использование
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t055/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/role-playing-systems--t055.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/role-playing-systems--t055.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/role-playing-systems--t057
    title: 'Репутация, фракции и мировоззрение'
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t057/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/role-playing-systems--t057.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/role-playing-systems--t057.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/role-playing-systems--t058
    title: 'Квесты, контракты и последствия решений'
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t058/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/role-playing-systems--t058.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/role-playing-systems--t058.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: catalog/run-structures
    title: Roguelike и структура забега
    url: 'https://gamemechanics.pro/ru/mechanics/run-structures/'
    jsonUrl: 'https://gamemechanics.pro/api/v1/knowledge/ru/catalog/run-structures.json'
    markdownUrl: 'https://gamemechanics.pro/content/knowledge/ru/catalog/run-structures.md'
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/run-structures--t060
    title: Традиционные пошаговые roguelike
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/run-structures--t060/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/run-structures--t060.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/run-structures--t060.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/run-structures--t061
    title: Action-roguelike
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/run-structures--t061/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/run-structures--t061.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/run-structures--t061.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/run-structures--t062
    title: Survivor-like и автоматические атаки
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/run-structures--t062/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/run-structures--t062.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/run-structures--t062.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/run-structures--t063
    title: Dungeon crawler и истощение в подземелье
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/run-structures--t063/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/run-structures--t063.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/run-structures--t063.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: catalog/social-cooperation
    title: Социальные отношения и совместная игра
    url: 'https://gamemechanics.pro/ru/mechanics/social-cooperation/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/catalog/social-cooperation.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/catalog/social-cooperation.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/social-cooperation--t200
    title: Забота о питомцах и зависимых персонажах
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/social-cooperation--t200/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/social-cooperation--t200.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/social-cooperation--t200.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/social-cooperation--t204
    title: Асимметричные роли и способности
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/social-cooperation--t204/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/social-cooperation--t204.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/social-cooperation--t204.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/social-cooperation--t206
    title: 'Спасение, поддержка и распределение ответственности'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/social-cooperation--t206/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/social-cooperation--t206.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/social-cooperation--t206.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/social-cooperation--t207
    title: 'Предательство, коалиции и временные союзы'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/social-cooperation--t207/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/social-cooperation--t207.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/social-cooperation--t207.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/social-cooperation--t198
    title: Социальные симуляторы и повседневная жизнь
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/social-cooperation--t198/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/social-cooperation--t198.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/social-cooperation--t198.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/social-cooperation--t202
    title: Социальная дедукция и скрытые роли
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/social-cooperation--t202/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/social-cooperation--t202.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/social-cooperation--t202.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/social-cooperation--t208
    title: 'Party games, викторины и коллективное угадывание'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/social-cooperation--t208/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/social-cooperation--t208.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/social-cooperation--t208.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: catalog/stealth-infiltration
    title: 'Стелс, проникновение и побег'
    url: 'https://gamemechanics.pro/ru/mechanics/stealth-infiltration/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/catalog/stealth-infiltration.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/catalog/stealth-infiltration.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/stealth-infiltration--t031
    title: 'Видимость, шум и обнаружение'
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t031/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/stealth-infiltration--t031.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/stealth-infiltration--t031.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/stealth-infiltration--t032
    title: 'Подозрение, тревога и поиск'
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t032/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/stealth-infiltration--t032.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/stealth-infiltration--t032.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/stealth-infiltration--t033
    title: Укрытие тела и следов
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t033/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/stealth-infiltration--t033.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/stealth-infiltration--t033.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/stealth-infiltration--t034
    title: Маскировка и социальное проникновение
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t034/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/stealth-infiltration--t034.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/stealth-infiltration--t034.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/stealth-infiltration--t035
    title: 'Приманки, отвлечения и саботаж'
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t035/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/stealth-infiltration--t035.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/stealth-infiltration--t035.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/stealth-infiltration--t036
    title: 'Слежка, разведка и контрнаблюдение'
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t036/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/stealth-infiltration--t036.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/stealth-infiltration--t036.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/stealth-infiltration--t037
    title: Ограбления и синхронное проникновение
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t037/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/stealth-infiltration--t037.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/stealth-infiltration--t037.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/stealth-infiltration--t038
    title: 'Побег, погоня и уход от преследования'
    url: >-
      https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t038/
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/stealth-infiltration--t038.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/stealth-infiltration--t038.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: catalog/systemic-worlds
    title: 'Системный мир, случайность и поведение NPC'
    url: 'https://gamemechanics.pro/ru/mechanics/systemic-worlds/'
    jsonUrl: 'https://gamemechanics.pro/api/v1/knowledge/ru/catalog/systemic-worlds.json'
    markdownUrl: 'https://gamemechanics.pro/content/knowledge/ru/catalog/systemic-worlds.md'
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/systemic-worlds--t260
    title: Системные взаимодействия и immersive sim
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/systemic-worlds--t260/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/systemic-worlds--t260.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/systemic-worlds--t260.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/systemic-worlds--t262
    title: 'Физические материалы, деформация и разрушение'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/systemic-worlds--t262/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/systemic-worlds--t262.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/systemic-worlds--t262.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/systemic-worlds--t263
    title: 'Экология, пищевые цепи и восстановление среды'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/systemic-worlds--t263/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/systemic-worlds--t263.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/systemic-worlds--t263.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/systemic-worlds--t265
    title: 'Распорядки, потребности и память персонажей'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/systemic-worlds--t265/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/systemic-worlds--t265.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/systemic-worlds--t265.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/systemic-worlds--t266
    title: Обучение существ и дрессировка
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/systemic-worlds--t266/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/systemic-worlds--t266.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/systemic-worlds--t266.md
  - type: uses
    direction: incoming
    label: Используется в материалах
    key: mechanic/systemic-worlds--t269
    title: 'Симуляция общества, популяций и автономных сообществ'
    url: 'https://gamemechanics.pro/ru/knowledge/mechanic/systemic-worlds--t269/'
    jsonUrl: >-
      https://gamemechanics.pro/api/v1/knowledge/ru/mechanic/systemic-worlds--t269.json
    markdownUrl: >-
      https://gamemechanics.pro/content/knowledge/ru/mechanic/systemic-worlds--t269.md
placements: []
supersededBy: []
attributes:
  kind: book
  format: null
  language: en
  authors: null
endsAt: null
provenance: Авторская рекомендация. Права на внешний материал остаются у его автора.
license: CC-BY-4.0
codeLicense: MIT
attribution: gamemechanics.pro contributors
---
# Состояния: Game Programming Patterns

id: state-pattern
type: resource
key: resource/state-pattern
lang: ru
status: active
url: https://gamemechanics.pro/ru/resources/#resource-state-pattern

Авторская глава о конечных автоматах, состояниях и переходах.

## Когда полезно

Авторская глава о конечных автоматах, состояниях и переходах.

## Связанные материалы

- Используется в материалах: [Состояния и переходы](https://gamemechanics.pro/ru/lessons/state-machines/) (key: lesson/state-machines)
- Используется в материалах: [Симуляторы занятий и профессий](https://gamemechanics.pro/ru/mechanics/activity-simulators/) (key: catalog/activity-simulators)
- Используется в материалах: [Фермерство, садоводство и животноводство](https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t127/) (key: mechanic/activity-simulators--t127)
- Используется в материалах: [Готовка, рецепты и работа кухни](https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t128/) (key: mechanic/activity-simulators--t128)
- Используется в материалах: [Рыбалка, охота и добывающие промыслы](https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t129/) (key: mechanic/activity-simulators--t129)
- Используется в материалах: [Уборка, сортировка и восстановление](https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t131/) (key: mechanic/activity-simulators--t131)
- Используется в материалах: [Строительство, земляные работы и техника](https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t132/) (key: mechanic/activity-simulators--t132)
- Используется в материалах: [Медицина, спасение и аварийные службы](https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t133/) (key: mechanic/activity-simulators--t133)
- Используется в материалах: [Расследование технических происшествий](https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t134/) (key: mechanic/activity-simulators--t134)
- Используется в материалах: [Проверка документов, инспекция и контроль](https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t135/) (key: mechanic/activity-simulators--t135)
- Используется в материалах: [Доставка, диспетчеризация и обслуживание клиентов](https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t136/) (key: mechanic/activity-simulators--t136)
- Используется в материалах: [Научные эксперименты и работа с приборами](https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t137/) (key: mechanic/activity-simulators--t137)
- Используется в материалах: [Симуляторы бизнеса, офиса и бюрократии](https://gamemechanics.pro/ru/knowledge/mechanic/activity-simulators--t138/) (key: mechanic/activity-simulators--t138)
- Используется в материалах: [Ближний бой и боевые системы](https://gamemechanics.pro/ru/mechanics/melee-combat/) (key: catalog/melee-combat)
- Используется в материалах: [Рукопашный бой и beat ’em up](https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t011/) (key: mechanic/melee-combat--t011)
- Используется в материалах: [Файтинг и дуэли](https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t012/) (key: mechanic/melee-combat--t012)
- Используется в материалах: [Комбо и character action](https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t013/) (key: mechanic/melee-combat--t013)
- Используется в материалах: [Soulslike и управление выносливостью](https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t014/) (key: mechanic/melee-combat--t014)
- Используется в материалах: [Hack and slash](https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t015/) (key: mechanic/melee-combat--t015)
- Используется в материалах: [Блокирование, парирование и контратаки](https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t016/) (key: mechanic/melee-combat--t016)
- Используется в материалах: [Захваты, броски и борьба](https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t017/) (key: mechanic/melee-combat--t017)
- Используется в материалах: [Бой с толпой и контроль пространства](https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t018/) (key: mechanic/melee-combat--t018)
- Используется в материалах: [Разрушаемые части, ранения и состояния](https://gamemechanics.pro/ru/knowledge/mechanic/melee-combat--t020/) (key: mechanic/melee-combat--t020)
- Используется в материалах: [Прогрессия, награды и удержание](https://gamemechanics.pro/ru/mechanics/progression-rewards/) (key: catalog/progression-rewards)
- Используется в материалах: [Открытие возможностей и расширение пространства действий](https://gamemechanics.pro/ru/knowledge/mechanic/progression-rewards--t240/) (key: mechanic/progression-rewards--t240)
- Используется в материалах: [Коллекции, альбомы и заполнение наборов](https://gamemechanics.pro/ru/knowledge/mechanic/progression-rewards--t241/) (key: mechanic/progression-rewards--t241)
- Используется в материалах: [Достижения, испытания и мастерство](https://gamemechanics.pro/ru/knowledge/mechanic/progression-rewards--t242/) (key: mechanic/progression-rewards--t242)
- Используется в материалах: [Лут, редкость и распределение наград](https://gamemechanics.pro/ru/knowledge/mechanic/progression-rewards--t243/) (key: mechanic/progression-rewards--t243)
- Используется в материалах: [Idle, incremental и офлайн-прогресс](https://gamemechanics.pro/ru/knowledge/mechanic/progression-rewards--t244/) (key: mechanic/progression-rewards--t244)
- Используется в материалах: [Престиж, сброс и повторное развитие](https://gamemechanics.pro/ru/knowledge/mechanic/progression-rewards--t245/) (key: mechanic/progression-rewards--t245)
- Используется в материалах: [Ролевые системы](https://gamemechanics.pro/ru/mechanics/role-playing-systems/) (key: catalog/role-playing-systems)
- Используется в материалах: [Создание персонажа и распределение характеристик](https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t049/) (key: mechanic/role-playing-systems--t049)
- Используется в материалах: [Классы, специализации и смена ролей](https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t050/) (key: mechanic/role-playing-systems--t050)
- Используется в материалах: [Билды и синергии способностей](https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t051/) (key: mechanic/role-playing-systems--t051)
- Используется в материалах: [Партийные роли и состав отряда](https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t052/) (key: mechanic/role-playing-systems--t052)
- Используется в материалах: [Снаряжение, аффиксы и наборы предметов](https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t053/) (key: mechanic/role-playing-systems--t053)
- Используется в материалах: [Статусы, стихии и сопротивления](https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t054/) (key: mechanic/role-playing-systems--t054)
- Используется в материалах: [Развитие навыков через использование](https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t055/) (key: mechanic/role-playing-systems--t055)
- Используется в материалах: [Репутация, фракции и мировоззрение](https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t057/) (key: mechanic/role-playing-systems--t057)
- Используется в материалах: [Квесты, контракты и последствия решений](https://gamemechanics.pro/ru/knowledge/mechanic/role-playing-systems--t058/) (key: mechanic/role-playing-systems--t058)
- Используется в материалах: [Roguelike и структура забега](https://gamemechanics.pro/ru/mechanics/run-structures/) (key: catalog/run-structures)
- Используется в материалах: [Традиционные пошаговые roguelike](https://gamemechanics.pro/ru/knowledge/mechanic/run-structures--t060/) (key: mechanic/run-structures--t060)
- Используется в материалах: [Action-roguelike](https://gamemechanics.pro/ru/knowledge/mechanic/run-structures--t061/) (key: mechanic/run-structures--t061)
- Используется в материалах: [Survivor-like и автоматические атаки](https://gamemechanics.pro/ru/knowledge/mechanic/run-structures--t062/) (key: mechanic/run-structures--t062)
- Используется в материалах: [Dungeon crawler и истощение в подземелье](https://gamemechanics.pro/ru/knowledge/mechanic/run-structures--t063/) (key: mechanic/run-structures--t063)
- Используется в материалах: [Социальные отношения и совместная игра](https://gamemechanics.pro/ru/mechanics/social-cooperation/) (key: catalog/social-cooperation)
- Используется в материалах: [Забота о питомцах и зависимых персонажах](https://gamemechanics.pro/ru/knowledge/mechanic/social-cooperation--t200/) (key: mechanic/social-cooperation--t200)
- Используется в материалах: [Асимметричные роли и способности](https://gamemechanics.pro/ru/knowledge/mechanic/social-cooperation--t204/) (key: mechanic/social-cooperation--t204)
- Используется в материалах: [Спасение, поддержка и распределение ответственности](https://gamemechanics.pro/ru/knowledge/mechanic/social-cooperation--t206/) (key: mechanic/social-cooperation--t206)
- Используется в материалах: [Предательство, коалиции и временные союзы](https://gamemechanics.pro/ru/knowledge/mechanic/social-cooperation--t207/) (key: mechanic/social-cooperation--t207)
- Используется в материалах: [Социальные симуляторы и повседневная жизнь](https://gamemechanics.pro/ru/knowledge/mechanic/social-cooperation--t198/) (key: mechanic/social-cooperation--t198)
- Используется в материалах: [Социальная дедукция и скрытые роли](https://gamemechanics.pro/ru/knowledge/mechanic/social-cooperation--t202/) (key: mechanic/social-cooperation--t202)
- Используется в материалах: [Party games, викторины и коллективное угадывание](https://gamemechanics.pro/ru/knowledge/mechanic/social-cooperation--t208/) (key: mechanic/social-cooperation--t208)
- Используется в материалах: [Стелс, проникновение и побег](https://gamemechanics.pro/ru/mechanics/stealth-infiltration/) (key: catalog/stealth-infiltration)
- Используется в материалах: [Видимость, шум и обнаружение](https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t031/) (key: mechanic/stealth-infiltration--t031)
- Используется в материалах: [Подозрение, тревога и поиск](https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t032/) (key: mechanic/stealth-infiltration--t032)
- Используется в материалах: [Укрытие тела и следов](https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t033/) (key: mechanic/stealth-infiltration--t033)
- Используется в материалах: [Маскировка и социальное проникновение](https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t034/) (key: mechanic/stealth-infiltration--t034)
- Используется в материалах: [Приманки, отвлечения и саботаж](https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t035/) (key: mechanic/stealth-infiltration--t035)
- Используется в материалах: [Слежка, разведка и контрнаблюдение](https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t036/) (key: mechanic/stealth-infiltration--t036)
- Используется в материалах: [Ограбления и синхронное проникновение](https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t037/) (key: mechanic/stealth-infiltration--t037)
- Используется в материалах: [Побег, погоня и уход от преследования](https://gamemechanics.pro/ru/knowledge/mechanic/stealth-infiltration--t038/) (key: mechanic/stealth-infiltration--t038)
- Используется в материалах: [Системный мир, случайность и поведение NPC](https://gamemechanics.pro/ru/mechanics/systemic-worlds/) (key: catalog/systemic-worlds)
- Используется в материалах: [Системные взаимодействия и immersive sim](https://gamemechanics.pro/ru/knowledge/mechanic/systemic-worlds--t260/) (key: mechanic/systemic-worlds--t260)
- Используется в материалах: [Физические материалы, деформация и разрушение](https://gamemechanics.pro/ru/knowledge/mechanic/systemic-worlds--t262/) (key: mechanic/systemic-worlds--t262)
- Используется в материалах: [Экология, пищевые цепи и восстановление среды](https://gamemechanics.pro/ru/knowledge/mechanic/systemic-worlds--t263/) (key: mechanic/systemic-worlds--t263)
- Используется в материалах: [Распорядки, потребности и память персонажей](https://gamemechanics.pro/ru/knowledge/mechanic/systemic-worlds--t265/) (key: mechanic/systemic-worlds--t265)
- Используется в материалах: [Обучение существ и дрессировка](https://gamemechanics.pro/ru/knowledge/mechanic/systemic-worlds--t266/) (key: mechanic/systemic-worlds--t266)
- Используется в материалах: [Симуляция общества, популяций и автономных сообществ](https://gamemechanics.pro/ru/knowledge/mechanic/systemic-worlds--t269/) (key: mechanic/systemic-worlds--t269)

## Источники и происхождение

Авторская рекомендация. Права на внешний материал остаются у его автора.

- [Состояния: Game Programming Patterns](https://github.com/munificent/game-programming-patterns/blob/master/book/state.markdown) (id: source-3817d420df0baa92)

CC-BY-4.0 · gamemechanics.pro contributors
