Skip to content

Commit

Permalink
Merge pull request #723 from WWAWing/fix/delete-snake-case-property-f…
Browse files Browse the repository at this point in the history
…or-picture-properties

【ピクチャ機能】プロパティの型定義からスネークケースの定義を削除
  • Loading branch information
aokashi committed Apr 23, 2024
2 parents 9609c72 + 0864576 commit 98c941c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/common-interface/src/wwa_picture.ts
Expand Up @@ -2,48 +2,37 @@ export interface PictureProperties<N = number> {
pos?: [N, N];
time?: N | [N] | [N, N];
timeFrame?: N | [N] | [N, N];
// スネークケースになっているだけで、内容は上記と同じ
time_frame?: N | [N] | [N, N];
size?: [N, N];
animTime?: [N, N];
anim_time?: [N, N];
animTimeFrame?: [N, N];
anim_time_frame?: [N, N];
move?: [N, N];
accel?: [N, N];
zoom?: [N, N];
zoomAccel?: [N, N];
zoom_accel?: [N, N];
// テンキーの並びと一致する。 0 は左上 (7 と同じ扱い)。
anchor?: N;
circle?: [N] | [N, N] | [N, N, N] | [N, N, N, N];
repeat?: [N, N];
img?: ([N, N] | [N, N, N, N]);
imgFile?: string;
img_file?: string;
sound?: N;
crop?: [N, N];
text?: string;
font?: string;
fontSize?: number;
font_size?: number;
fontFamily?: string;
font_family?: string;
italic?: number;
bold?: number;
color?: [N, N, N];
// CanvasTextAlign そのままの値
textAlign?: "center" | "end" | "left" | "right" | "start";
text_align?: "center" | "end" | "left" | "right" | "start";
lineHeight?: N;
line_height?: N;
opacity?: N;
fade?: N;
angle?: N;
rotate?: N;
wait?: N;
waitFrame?: N;
wait_frame?: N;
next?: [N] | [N, N] | [N, N, N],
create?: ([N] | [N, N] | [N, N, N] | [N, N, N, N])[],
// TODO map プロパティの座標で PX と PY を指定するとピクチャ作成時の座標が評価されてしまい、移動後はプレイヤーの位置通りにパーツが配置されない。
Expand Down

0 comments on commit 98c941c

Please sign in to comment.