| | package org.ntlab.acanthus_server.entities; |
---|
| | |
---|
| | import org.ntlab.acanthus_server.models.Gallery; |
---|
| | |
---|
| | public class Work { |
---|
| | |
---|
| | int status = 0; |
---|
| | Animation animation = null; |
---|
| | private Gallery animations = Gallery.getInstance(); |
---|
| | |
---|
| | public Animation getAnimation(){ return this.animation; } |
---|
| | |
---|
| | public void setAnimation(Animation anime) { this.animation = anime; } |
---|
| | |
---|
| | public void setInvites(){ this.status = 1; } |
---|
| | public void setInvites(int aid){ |
---|
| | Animation animation = animations.getAnimationByAid(aid); |
---|
| | this.setAnimation(animation); |
---|
| | this.status = 1; |
---|
| | } |
---|
| | |
---|
| | public void setWork(){ this.status = 2; } |
---|
| | |
---|
| | public boolean isInviting() { |
---|
| |
---|
| | |
マージお願いします。
WorkクラスのsetInvitesでanimationを新しくセット出来るようにしました。
e2508e4
intomaster
fromaccountInvited
on 25 May 2021