You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
442 B
21 lines
442 B
|
|
import { Pos } from "../../geo/Pos"
|
|
import { Segment } from "../../components/arrows/BendableArrow"
|
|
import { ComponentId } from "./Tactic"
|
|
|
|
export enum ActionKind {
|
|
SCREEN = "SCREEN",
|
|
DRIBBLE = "DRIBBLE",
|
|
MOVE = "MOVE",
|
|
SHOOT = "SHOOT",
|
|
}
|
|
|
|
export type Action = { type: ActionKind } & MovementAction
|
|
|
|
export interface MovementAction {
|
|
fromId: ComponentId
|
|
toId?: ComponentId
|
|
moveFrom: Pos
|
|
segments: Segment[]
|
|
}
|