SETKEYCODES
Section: Keyboard Support (8)Updated: 8 Nov 1994
Index Return to Main Contents
NAME
setkeycodes - load kernel scancode-to-keycode mapping table entriesSYNOPSIS
setkeycodes scancode keycode ...DESCRIPTION
The setkeycodes command reads its arguments two at a time, each pair of arguments consisting of a scancode (given in hexadecimal) and a keycode (given in decimal). For each such pair, it tells the kernel keyboard driver to map the specified scancode to the specified keycode.This command is useful only for people with slightly unusual keyboards, that have a few keys which produce scancodes that the kernel does not recognize.
THEORY
The usual PC keyboard produces a series of scancodes for each key press and key release. (Scancodes are shown by showkey -s, see showkey(1).) The kernel parses this stream of scancodes, and converts it to a stream of keycodes (key press/release events). (Keycodes are shown by showkey.) Apart from a few scancodes with special meaning, and apart from the sequence produced by the Pause key, and apart from shiftstate related scancodes, and apart from the key up/down bit, the stream of scancodes consists of unescaped scancodes xx (7 bits) and escaped scancodes e0 xx (8+7 bits). It is hardwired in the current kernel that in the range 1-88 (0x01-0x58) keycode equals scancode. For the remaining scancodes (0x59-0x7f) or scancode pairs (0xe0 0x00 - 0xe0 0x7f) a corresponding keycode can be assigned (in the range 1-127). For example, if you have a Macro key that produces e0 6f according to showkey(1), the command- setkeycodes e06f 112
USB keyboards have standardized keycodes and setkeycodes doesn't affect them at all.
2.6 KERNELS
In 2.6 kernels key codes lie in the range 1-255, instead of 1-127. (It might be best to confine oneself to the range 1-239.)In 2.6 kernels raw mode, or scancode mode, is not very raw at all. The code returned by showkey -s will change after use of setkeycodes. A kernel bug. See also showkey(1).
OPTIONS
None.BUGS
The keycodes of X have nothing to do with those of Linux. Unusual keys can be made visible under Linux, but not under X.setkeycodes affects only the "first" input device that has modifiable scancode-to-keycode mapping. If there is more than one such device, setkeycodes cannot change the mapping of other devices than the "first" one.
SEE ALSO
dumpkeys (1), loadkeys (1), showkey (1), getkeycodes (8)
Index
This document was created by man2html, using the manual pages.
Time: 05:34:30 GMT, December 24, 2015


rotten > Library > Culture > Lottery Winners
Lottery Winners
Strangely enough, winning millions in the lottery can be the worst thing that ever happened to you. The money can strain relationships with your spouse and relatives. It can turn your friends and neighbors into leeches. It can ruin your privacy. It can cause security problems, threaten your physical safety. Paradoxically, it can lead you down the road to bankruptcy.

Tips for the Latest Instant Millionaire
[Bear in mind that none of us is a lawyer or a lottery millionaire, so these recommendations are anything but authoritative. Caveat emptor, you rich bastard.]
 So your primary mission is to claim the money without divulging your identity or having a mental breakdown. Here's how to do it:
- Don't tell anyone. The single most important rule for maintaining sanity after winning the lottery is: Do everything you can to keep your precious anonymity intact.  Don't share the news with your friends, neighbors, coworkers, or family. Resist even the urge to tell your spouse or significant other, at least for the time being. Otherwise you will have forever blown your one chance at being anonymous. You can always spill the beans later, after all the excitement has died down.
- Don't sign the ticket. After you write your name on that ticket, you might as well call up and announce the news to your local TV stations and newspapers. Remember that the state lottery commission will publicize the identity of every claimant. Toss the ticket into a clean Ziploc bag (to avoid spills, etc.) and temporarily stash it someplace away from excessive heat, sunlight, pets, children, roommates, coworkers, etc. Make sure it's someplace safe that you won't forget.
- Act casual. Maintain your normal routine. Continue to attend work, school, church, social functions, etc. Whatever's typical for you. When people ask you what's up, refer to rule number one.
- Make a few photocopies. At your earliest opportunity, take a trip to a 24-hour Kinko's around 2am when nobody's around and make six copies of the ticket, both front and back. Use one of the self-serve machines and take any and all bad copies with you (i.e. leave none in the trash). And before you leave, doublecheck to make sure you didn't leave the original in the machine.
- Rent a safe-deposit box. Contact your bank and see if they have any vacant safe deposit boxes, tell them you're going on a trip and need to store some documents for a few months. Make a point of asking them how much it costs, even though you couldn't care less. You're trying to keep up appearances. When you go down to the bank in person to open your box, you will probably need some ID and your bank card. Bring the ticket, along with some other (fake) papers. Don't show them the ticket, obviously. Loose lips sink ships. Stash the ticket in the box and put the box key on your keyring. Don't lose the key.
- Open a blind trust. Hire a tax attorney. Once you're a client, the lawyer is legally bound to maintain your confidentiality. Tell them you want to open a blind trust in order to claim the lottery prize as an anonymous trustee. Provide three photocopies of your ticket. All contact with the lottery commission will be made through your lawyer.
- Contact a financial planner. Rich people don't tend to stay that way without a little planning. If you have the choice between annual payments and a single large payout, you should consider the big jackpot. It's less money total, but it's probably about the same as the annuity if you take the lump sum and invest it in interest-bearing savings bonds. However, the single large payout may incur a higher tax rate. Ask your tax experts.
- Tie up any financial loose ends. No reason to procrastinate now. Pay all those traffic fines and parking tickets. Catch up on alimony or child support payments. Settle any debts.  And don't think it won't matter anymore. It matters.
- Draft or update your last will and testament. If there were ever a time for estate planning, it's now. Be sure to remember us by including The Rotten Codicil in your will.
- Move away. And not just out of town. We're talking out of state, possibly out of the country. You can't expect to keep a lid on your secret forever; information wants to be free. Maybe buy a modest house with a good alarm system in a gated community with a private security force. That ought to minimize the solicitors at your door. Also be sure to get an unlisted phone number.
Now you can finally enjoy all that wealth in peace. Go ahead and splurge. Get yourself a P.O. Box and order one of everything from the Rotten Store.  Anyway, that's what all the hip millionaires do. Seriously.
Timeline
| 28 Apr 1997 |
Lottery millionaire Michael Allen is bludgeoned to death in a Lewiston, Maine motel room. |
| 22 May 1999 |
Billie Bob Harrell, Jr. commits suicide. In June 1997, Harrell won $31 million in the Texas state lottery. |
| 4 Sep 2001 |
Patrick Collier randomly wins $1 million at a McDonald's in Holly Hill, Florida. "I'm getting a Harley and a couple of houses." Two weeks later, Collier is arrested for allegedly choking and punching his fiancee in the face. |
| 19 Dec 2001 |
British lottery millionaire Phil Kitchen is found dead on his couch. Kitchen had apparently drunk himself to death (whiskey). |
| 11 Jul 2002 |
British lottery winner Dennis Elwell dies at work, shortly after telling a coworker that he had drunk cyanide. |
| 21 Apr 2003 |
$25 million lottery winner Richard Krenzer is stabbed six times by Randall Hillyard and his son at the Swillburg Stop Bar & Grill outside Rochester, NY. |
| 29 Jun 2003 |
Lottery millionaire Jody Lee Taylor is arrested in Collinsville, Virginia for attempting to run over a sheriff's deputy. On the night of his arrest, Taylor was driving naked down the wrong side of U.S. Route 58 with his headlights off. |
| 5 Aug 2003 |
After lottery millionaire Jack Whittaker passes out in a West Virginia strip bar, a burglar steals his briefcase containing $545,000 in negotiable bonds. The money is located in a trash dumpster the next morning. |
| 13 Sep 2003 |
The London Telegraph reports that 16-year-old British lottery millionaire Callie Rogers has lost her boyfriend, fought with her father, been mugged, and been accused of stealing someone's man. "Some days I don't even want to leave my house because people just scream abuse at me. Two months ago I thought I was the luckiest teenager in Britain. But today I can say I have never felt so miserable." |
| 15 Sep 2003 |
In his Egg Harbor Township, New Jersey home, lottery millionaire Oscar Cordoba repeatedly stabs his wife and her mother with a kitchen knife, killing the mother-in-law. |
| 17 Oct 2003 |
In a program entitled Living with the Lottery Lout, ITV1 reports that British lottery millionaire Michael Carroll has completely alienated his neighbors in Swaffham, Norfolk by periodically staging loud, impromptu demolition derbies on his property. |
| 18 Nov 2003 |
An English court issues a bench warrant for lottery millionaire Satish Patel, charged with defrauding the government for three years' worth of unemployment claims. |
| 6 Jan 2004 |
After getting banned from Billy Sundays Bar and Grill in St Albans, West Virginia, lottery winner Jack Whittaker reportedly threatens to have the manager and his family killed. |
| 20 Jan 2004 |
Lottery winner Jack Whittaker reports that shortly after dawn, somebody broke into his SUV in Scott Depot, West Virginia and stole a bag containing $100,000 cash. |
| 25 Jan 2004 |
Lottery winner Jack Whittaker is arrested for drunk driving in Nitro, West Virginia. Police allege the millionaire blew a .190 blood alcohol on the breathalyzer. |
| Apr 2004 |
A judge rules that broke Virginia lottery millionaire Suzanne Mullins owes $154,146.50 to the People's Lottery Foundation, a Florida lending institution specializing in loans to lottery winners. |
| 26 Jun 2004 |
At his Longmont, Colorado home, state lottery millionaire Kevin Lee Sutton allegedly shoots Cristobal Lopez in the head with a .22 caliber pistol. Lopez survives and Sutton is later charged with attempted murder. |
| 20 Jul 2004 |
In Minneapolis, MN, lottery millionaire Victoria A. Zell reportedly crashes her SUV into a truck on the way home from a bar, killing passenger Joshua Schmidt and paralyzing Amity Dimock from the waist down. |
| 7 Aug 2004 |
Incarcerated serial rapist Iorworth Hoare wins $12.9 million in the British lottery. |
| 13 Aug 2004 |
The nonprofit group Equine Protection of North America files suit against New Hampshire lottery millionaire Mary Ellen Sanderson for failure to deliver on an alleged $70,000 annual donation pledge. |
| 24 Aug 2004 |
An Arizona bird refuge, The Oasis Sanctuary, files suit against New Hampshire lottery millionaires Mary Ellen Sanderson and former husband Jason Sanderson for failure to deliver on an alleged $100,000 annual donation pledge. |
| Sep 2004 |
Minnesota lottery millionaire Victoria A. Zell is arrested for having allegedly violated the terms of her bail and possessing 0.7 grams of methamphetamine. Zell had also reportedly wired $500,000 to a Canadian bank. |
| 10 Oct 2004 |
Seattle police officers shoot California lottery millionaire Rick Camat to death in a parking lot near Qwest Field. Officers claim that Camat refused to drop his pistol, but Camat's brother claims the cops give him no instructions to do so. |
| 2 Oct 2005 |
Having spent his $10 million prize in just seven years, Winnipeg lottery winner Gerald Muswagon hangs himself. Notable events in his monied spree include a high-speed chase in 2000 and a sexual assault arrest in 2002. |
| 28 Oct 2005 |
Million dollar jackpot winner Christina Goodenow is arrested after Oregon police discover that she had purchased the winning ticket with a credit card stolen from her dead mother-in-law. Police searching her home discover her stash of methamphetamine, but find no trace of her first $33,500 installment. |
| 15 Jan 2006 |
Bankrupt ex-lottery millionaire William "Bud" Post III dies of respiratory failure in Seneca, Pennsylvania. Post had won $16.2 million in the Pennsylvania lottery on February 24, 1988. From a 1993 interview: "Everybody dreams of winning money, but nobody realizes the nightmares that come out of the woodwork, or the problems." |
Pornopolis |
Rotten |
Faces of Death |
Famous Nudes
|


According to a previous Post report, Athens business owners have been required to enforce masking within their stores in accordance with the stipulations outlined in the universal mask mandate that was reinstated in August.
Eateries such as Brenen’s Coffee Cafe, located at 38 S. Court St., Bagel Street Deli located at 27 S. Court St. and Union Street Diner at 70 W. Union St. are currently requiring masking inside and will continue to do so throughout Homecoming weekend.
Brenen’s policy requires customers to be masked when entering the building, moving around the dining room and when ordering. However, customers are allowed to remove their masks when sitting at tables and eating, Josh Thomas, co-owner of Brenen’s, said.
Bagel Street Deli and Union Street Diner have similar policies, with Bagel Street Deli emphasizing masking when ordering especially, Grace Corbin, a worker at Bagel Street, said.
“I would say, maybe 20% of customers come in without one (a mask),” Corbin said. “We do address it, ask them to put one on, we provide them if they don't have them.”
Tim Carman, an owner of Union Street Diner, said he has not seen many issues involving customers being unmasked. However, occasionally employees remove their masks in the kitchen due to high heat, Carman said.
Carman does not expect Homecoming weekend to increase patronage, due to weekends already putting Union Street Diner at peak patronage throughout the day. The “busy” time of day may last a little longer, he said, but he feels prepared because the business has already experienced Parents Weekend this semester.
Brenen’s is preparing for increased patronage by potentially rearranging and removing some tables in order to create more space between customers, Thomas said. Echoing Carman’s expectations, Thomas does not expect a large uptick in customers, having already experienced Parents’ Weekend as well this fall.
However, Thomas does expect to see a few more customers who do not want to follow Brenen’s masking policy, as he has dealt with a few people previously.
“Those (unmasked) people just left, when we said, ‘Listen, when you come in the door, you got to have a mask, if you don't have one, we can provide one,’” Thomas said. “We did have a couple of people that just you could tell they just kind of shrugged their shoulders and said, ‘No thanks,’ and then they just left and went somewhere else.”
Corbin said although she does occasionally see customers come in without a mask on, she simply asks them to put a mask on and has yet to have a customer refuse. Given relatively few issues with masking, she is not concerned about an uptick in sickness due to larger crowds.
Carman and Thomas are not particularly concerned either. All Brenen’s employees are vaccinated, Thomas said, so he does not anticipate employees being out due to COVID-19.
“I'm personally excited that they're having the parade again and I do plan to watch it from a safe distance from others,” Corbin said. “As a business, I would say we’re excited to have a big Homecoming crowd. As weird as it is during these COVID times that we're still experiencing, I think we're going to be happy to have a nice weekend of high sales.”


Any man could, if he were so inclined, be the sculptor of his own brain.
So said the Santiago Ramón y Cajal who first articulated the idea “neuronal plasticity” in the early 1900s. Now known as neuroplasticity, this concept has broad implications in many areas of human growth and potential. It affects things as disparate as our ability to recover from injury, dealing with psychological issues, and influencing how we learn.
Neuroplasticity refers to the brain’s ability to adapt.
Our brains are truly extraordinary; unlike computers, which are built to certain specifications and receive software updates periodically, our brains can actually receive hardware updates in addition to software updates. Different pathways form and fall dormant, are created and are discarded, according to our experiences. 1
Think about that. With effort, we can adapt our brains to new situations and information. This is truly remarkable.
Neuroplasticity has demonstrated benefits in the following areas:
Some ways to increase neuroplasticity include2:
Neuroplasticity goes hand in hand with the concept of having a growth mindset. A growth mindset is the idea our abilities can be developed and improved over time with practice and determination. This contrasts with a fixed mindset, one where a person believes they can’t change or learn new things. A growth mindset “embraces mistakes as opportunities to learn”3.
There are many ways to develop a growth mindset4.
As I move into the challenge of a coding bootcamp, I need to keep in mind the concepts of neuroplasticity and growth mindset. There will be times when I feel like I can’t accomplish what is asked of me. But if I maintain a growth mindset, then neuroplasticity will kick in, allowing me to learn and acquire the new skills and knowledge I need to be successful.


from abc import ABCMeta, abstractmethod
from cloudmesh.configuration.Config import Config
# noinspection PyUnusedLocal
[docs]class ComputeNodeABC(metaclass=ABCMeta):
def __init__(self, cloud, path):
config = Config(config_path=path)["cloudmesh"]
self.cm = config["cloud"][cloud]["cm"]
self.default = config["cloud"][cloud]["default"]
self.credentials = config["cloud"][cloud]["credentials"]
self.group = config["default"]["group"]
self.experiment = config["default"]["experiment"]
[docs] @abstractmethod
def start(self, name=None):
"""
start a node
:param name: the unique node name
:return: The dict representing the node
"""
raise NotImplementedError
[docs] @abstractmethod
def stop(self, name=None):
"""
stops the node with the given name
:param name:
:return: The dict representing the node including updated status
"""
raise NotImplementedError
[docs] @abstractmethod
def info(self, name=None):
"""
gets the information of a node with a given name
:param name:
:return: The dict representing the node including updated status
"""
raise NotImplementedError
[docs] @abstractmethod
def suspend(self, name=None):
"""
suspends the node with the given name
:param name: the name of the node
:return: The dict representing the node
"""
raise NotImplementedError
[docs] @abstractmethod
def list(self, **kwargs):
"""
list all vms
:return: an array of dicts representing the nodes
"""
raise NotImplementedError
[docs] @abstractmethod
def resume(self, name=None):
"""
resume the named node
:param name: the name of the node
:return: the dict of the node
"""
raise NotImplementedError
[docs] @abstractmethod
def destroy(self, name=None):
"""
Destroys the node
:param name: the name of the node
:return: the dict of the node
"""
raise NotImplementedError
[docs] @abstractmethod
def create(self,
name=None,
image=None,
size=None,
timeout=360,
group=None,
**kwargs):
"""
creates a named node
:param group: a list of groups the vm belongs to
:param name: the name of the node
:param image: the image used
:param size: the size of the image
:param timeout: a timeout in seconds that is invoked in case the image does not boot.
The default is set to 3 minutes.
:param kwargs: additional arguments passed along at time of boot
:return:
"""
"""
create one node
"""
raise NotImplementedError
[docs] @abstractmethod
def rename(self, name=None, destination=None):
"""
rename a node
:param destination:
:param name: the current name
:return: the dict with the new name
"""
# if destination is None, increase the name counter and use the new name
raise NotImplementedError
[docs] def keys(self):
"""
Lists the keys on the cloud
:return: dict
"""
raise NotImplementedError
[docs] @abstractmethod
def key_upload(self, key=None):
"""
uploads the key specified in the yaml configuration to the cloud
:param key:
:return:
"""
raise NotImplementedError
[docs] def key_delete(self, name=None):
"""
deletes the key with the given name
:param name: The name of the key
:return:
"""
raise NotImplementedError
[docs] def images(self, **kwargs):
"""
Lists the images on the cloud
:return: dict
"""
raise NotImplementedError
[docs] def image(self, name=None):
"""
Gets the image with a given nmae
:param name: The name of the image
:return: the dict of the image
"""
raise NotImplementedError
[docs] def flavors(self, **kwargs):
"""
Lists the flavors on the cloud
:return: dict of flavors
"""
raise NotImplementedError
[docs] def flavor(self, name=None):
"""
Gets the flavor with a given name
:param name: The name of the flavor
:return: The dict of the flavor
"""
raise NotImplementedError
[docs] def reboot(self, name=None):
"""
Reboot a list of nodes with the given names
:param name: A list of node names
:return: A list of dict representing the nodes
"""
raise NotImplementedError
[docs] def attach_public_ip(self, name=None, ip=None):
"""
adds a public ip to the named vm
:param name: Name of the vm
:param ip: The ip address
:return:
"""
raise NotImplementedError
[docs] def detach_public_ip(self, name=None, ip=None):
"""
adds a public ip to the named vm
:param name: Name of the vm
:param ip: The ip address
:return:
"""
raise NotImplementedError
[docs] def delete_public_ip(self, ip=None):
"""
Deletes the ip address
:param ip: the ip address, if None than all will be deleted
:return:
"""
raise NotImplementedError
[docs] def list_public_ips(self, available=False):
"""
Lists the public ip addresses.
:param available: if True only those that are not allocated will be
returned.
:return:
"""
raise NotImplementedError
[docs] def create_public_ip(self):
"""
Creates a new public IP address to use
:return: The ip address information
"""
raise NotImplementedError
[docs] def find_available_public_ip(self):
"""
Returns a single public available ip address.
:return: The ip
"""
raise NotImplementedError
[docs] def get_public_ip(self, name=None):
"""
returns the public ip
:param name: name of the server
:return:
"""
raise NotImplementedError
[docs] def list_secgroups(self, name=None):
"""
List the named security group
:param name: The name of the group, if None all will be returned
:return:
"""
[docs] def list_secgroup_rules(self, name='default'):
"""
List the named security group
:param name: The name of the group, if None all will be returned
:return:
"""
raise NotImplementedError
[docs] def upload_secgroup(self, name=None):
raise NotImplementedError
[docs] def add_secgroup(self, name=None, description=None):
raise NotImplementedError
[docs] def add_secgroup_rule(self,
name=None, # group name
port=None,
protocol=None,
ip_range=None):
raise NotImplementedError
[docs] def remove_secgroup(self, name=None):
raise NotImplementedError
[docs] def add_rules_to_secgroup(self, name=None, rules=None):
raise NotImplementedError
[docs] def remove_rules_from_secgroup(self, name=None, rules=None):
raise NotImplementedError
[docs] @abstractmethod
def wait(self,
vm=None,
interval=None,
timeout=None):
"""
wais till the given VM can be logged into
:param vm: name of the vm
:param interval: interval for checking
:param timeout: timeout
:return:
"""
raise NotImplementedError
return False
[docs] def console(self, vm=None):
"""
gets the output from the console
:param vm: name of the VM
:return:
"""
raise NotImplementedError
return ""
[docs] def log(self, vm=None):
raise NotImplementedError
return ""


Settings
I'm available
If selected, we will recommendation people that are also available.
Gender
Male
Female
Other
College
Major
Email
Show me on Meel
While turned off, you will not be shown in others recommendation list.
Share my location
Your exact location (as distance to others) will be used for recommendation if this toggle is on.
SAVE
Logout my account


|
UniversalDanmakuEngine
alpha 1.3.0
|
Base class for shot patterns of enemy. More...
Public Types | |||||||
| enum | PatternType { PatternType.NORMAL, PatternType.SPECIAL } | ||||||
Enum of the type of the pattern. Use Special only when the pattern is a boss' special pattern.
| |||||||
| enum | RemoveBulletsOnDeath { RemoveBulletsOnDeath.NONE, RemoveBulletsOnDeath.PATTERN, RemoveBulletsOnDeath.ENTIRE } | ||||||
Enum that represents whether bullets will be removed when the health of the pattern becomes below 0.
| |||||||
Public Member Functions | |
| virtual void | Initialize (UDEEnemy originEnemy) |
| Initializes the pattern. This methods is called in SansyHuman.UDE.Object.UDEEnemy.ManagePatterns(). More... | |
| virtual void | StartPattern () |
| Starts the pattern. This methods is called in SansyHuman.UDE.Object.UDEEnemy.ManagePatterns(). If you have paused the pattern, it restarts from where you have paused. More... | |
| virtual void | PausePattern () |
| Pauses the pattern. The progression of the pattern remains. More... | |
| virtual void | ResetPattern () |
| Resets the pattern. More... | |
| virtual void | EndPattern () |
| Ends the pattern. This methods is called in SansyHuman.UDE.Object.UDEEnemy.ManagePatterns(). More... | |
| void | AddBullet (UDEAbstractBullet bullet) |
| Adds shotted bullet by this pattern. Only used internally in SansyHuman.UDE.Object.UDEBaseBullet. More... | |
| void | RemoveBullet (UDEAbstractBullet bullet) |
| Removes shotted bullet by this pattern. Only used internally in SansyHuman.UDE.Object.UDEBaseBullet. More... | |
Static Public Member Functions | |
| static int | operator+ (UDEBaseShotPattern pattern, UDEAbstractBullet bullet) |
| Operator version of AddBullet(SansyHuman.UDE.Object.UDEAbstractBullet). Only used internally in SansyHuman.UDE.Object.UDEBaseBullet. More... | |
| static int | operator- (UDEBaseShotPattern pattern, UDEAbstractBullet bullet) |
| Operator version of RemoveBullet(SansyHuman.UDE.Object.UDEAbstractBullet). Only used internally in SansyHuman.UDE.Object.UDEBaseBullet. More... | |
Protected Member Functions | |
| void | StartSubpattern (IEnumerator subpattern) |
| Starts a subpattern running simultaneously with the main pattern. The subpattern is registered in SansyHuman.UDE.Pattern.UDEBaseShotPattern.subpatterns list. Use this method only inside the SansyHuman.UDE.Pattern.UDEBaseShotPattern.ShotPattern() coroutine. More... | |
| void | StopSubpattern (IEnumerator subpattern) |
| Stops the subpattern and remove it from the list. Use this method only inside the SansyHuman.UDE.Pattern.UDEBaseShotPattern.ShotPattern() coroutine. More... | |
| abstract IEnumerator | ShotPattern () |
| Method that represent the pattern. You can create various custom patterns implementing this method. More... | |
Protected Attributes | |
| List< UDEAbstractBullet > | patternBullets |
| Bullets that are used in the pattern. Bullet objects should have SansyHuman.UDE.Object.UDEAbstractBullet or its children as a component. More... | |
| PatternType | type = PatternType.NORMAL |
| Type of the pattern. More... | |
| bool | hasTimeLimit |
| Whether the pattern ends after some time. More... | |
| float | timeLimit |
| Time limit of the pattern. More... | |
| RemoveBulletsOnDeath | removeBullets = RemoveBulletsOnDeath.NONE |
| Whether remove the bullet when the pattern dies. More... | |
| List< UDEAbstractBullet > | shottedBullets |
| Collection of bullets that are shot in this pattern. More... | |
| UDEEnemy | originEnemy |
| Enemy object that plays the pattern. More... | |
| float | time |
| Passed time from the start of the pattern. More... | |
| IEnumerator | pattern |
| Coroutine of UDEBaseShotPattern.ShotPattern(). More... | |
| List< IEnumerator > | subpatterns |
| Coroutines of subpatterns. More... | |
| bool | shotPatternOn = false |
| Whether the pattern is active. More... | |
| Protected Attributes inherited from SansyHuman.UDE.Object.UDEInitializable | |
| bool | initialized = false |
| Whether the object is initialized. More... | |
Properties | |
| float | Time [get] |
| Gets the passed time of the pattern. More... | |
| PatternType | Type [get] |
| Gets and sets the type the pattern. More... | |
| bool | HasTimeLimit [get] |
| Gets whether the pattern has a time limit. More... | |
| float | TimeLimit [get] |
| Gets the time limit of the pattern. More... | |
| bool | ShotPatternOn [get] |
| Gets whether the pattern is running on. More... | |
| Properties inherited from SansyHuman.UDE.Object.UDEInitializable | |
| bool | Initialized [get] |
| Gets whether the object is initialized. More... | |
Base class for shot patterns of enemy.
Definition at line 36 of file UDEBaseShotPattern.cs.
Enum of the type of the pattern. Use Special only when the pattern is a boss' special pattern.
| NORMAL | Normal pattern. |
| SPECIAL | Special pattern. |
| Enumerator | |
|---|---|
| NORMAL | Normal pattern. |
| SPECIAL | Special pattern. |
Definition at line 51 of file UDEBaseShotPattern.cs.
Enum that represents whether bullets will be removed when the health of the pattern becomes below 0.
| NONE | Do not remove bullets. |
| PATTERN | Remove bullets from the pattern. |
| ENTIRE | Remove entire bullets. |
| Enumerator | |
|---|---|
| NONE | Do not remove bullets when the pattern dies. |
| PATTERN | Remove bullets only from the pattern. |
| ENTIRE | Remove all bullets in entire scene. |
Definition at line 76 of file UDEBaseShotPattern.cs.
| void SansyHuman.UDE.Pattern.UDEBaseShotPattern.AddBullet | ( | UDEAbstractBullet | bullet | ) |
Adds shotted bullet by this pattern. Only used internally in SansyHuman.UDE.Object.UDEBaseBullet.
Definition at line 226 of file UDEBaseShotPattern.cs.
|
virtual |
Ends the pattern. This methods is called in SansyHuman.UDE.Object.UDEEnemy.ManagePatterns().
Definition at line 204 of file UDEBaseShotPattern.cs.
|
virtual |
Initializes the pattern. This methods is called in SansyHuman.UDE.Object.UDEEnemy.ManagePatterns().
| originEnemy | The enemy object which shots the pattern. |
Definition at line 129 of file UDEBaseShotPattern.cs.
|
static |
Operator version of AddBullet(SansyHuman.UDE.Object.UDEAbstractBullet). Only used internally in SansyHuman.UDE.Object.UDEBaseBullet.
| pattern | Pattern to which bullet is added |
| bullet | Bullet to add |
Definition at line 238 of file UDEBaseShotPattern.cs.
|
static |
Operator version of RemoveBullet(SansyHuman.UDE.Object.UDEAbstractBullet). Only used internally in SansyHuman.UDE.Object.UDEBaseBullet.
| pattern | Pattern from which bullet is removed |
| bullet | Bullet to remove |
Definition at line 261 of file UDEBaseShotPattern.cs.
|
virtual |
Pauses the pattern. The progression of the pattern remains.
Definition at line 175 of file UDEBaseShotPattern.cs.
| void SansyHuman.UDE.Pattern.UDEBaseShotPattern.RemoveBullet | ( | UDEAbstractBullet | bullet | ) |
Removes shotted bullet by this pattern. Only used internally in SansyHuman.UDE.Object.UDEBaseBullet.
Definition at line 249 of file UDEBaseShotPattern.cs.
|
virtual |
Resets the pattern.
Definition at line 188 of file UDEBaseShotPattern.cs.
|
protectedpure virtual |
Method that represent the pattern. You can create various custom patterns implementing this method.
This example shots the pattern similar to 境符「波と粒の境界」 of Yukari Yakumo from Touhou Project TH09.5 Shoot the Bullet.
|
virtual |
Starts the pattern. This methods is called in SansyHuman.UDE.Object.UDEEnemy.ManagePatterns(). If you have paused the pattern, it restarts from where you have paused.
Definition at line 153 of file UDEBaseShotPattern.cs.
|
protected |
Starts a subpattern running simultaneously with the main pattern. The subpattern is registered in SansyHuman.UDE.Pattern.UDEBaseShotPattern.subpatterns list. Use this method only inside the SansyHuman.UDE.Pattern.UDEBaseShotPattern.ShotPattern() coroutine.
| subpattern | Subpattern to start |
Definition at line 273 of file UDEBaseShotPattern.cs.
|
protected |
Stops the subpattern and remove it from the list. Use this method only inside the SansyHuman.UDE.Pattern.UDEBaseShotPattern.ShotPattern() coroutine.
| subpattern | Subpattern to end |
Definition at line 284 of file UDEBaseShotPattern.cs.
|
protected |
Whether the pattern ends after some time.
Definition at line 92 of file UDEBaseShotPattern.cs.
|
protected |
Enemy object that plays the pattern.
Enemy object should have SansyHuman.UDE.Object.UDEEnemy as its component.
Definition at line 103 of file UDEBaseShotPattern.cs.
|
protected |
Coroutine of UDEBaseShotPattern.ShotPattern().
Definition at line 108 of file UDEBaseShotPattern.cs.
|
protected |
Bullets that are used in the pattern. Bullet objects should have SansyHuman.UDE.Object.UDEAbstractBullet or its children as a component.
Definition at line 88 of file UDEBaseShotPattern.cs.
|
protected |
Whether remove the bullet when the pattern dies.
Definition at line 97 of file UDEBaseShotPattern.cs.
|
protected |
Whether the pattern is active.
Definition at line 112 of file UDEBaseShotPattern.cs.
|
protected |
Collection of bullets that are shot in this pattern.
Definition at line 100 of file UDEBaseShotPattern.cs.
|
protected |
Coroutines of subpatterns.
Definition at line 110 of file UDEBaseShotPattern.cs.
|
protected |
Passed time from the start of the pattern.
Definition at line 105 of file UDEBaseShotPattern.cs.
|
protected |
Time limit of the pattern.
Definition at line 94 of file UDEBaseShotPattern.cs.
|
protected |
Type of the pattern.
Definition at line 90 of file UDEBaseShotPattern.cs.
|
get |
Gets whether the pattern has a time limit.
Definition at line 119 of file UDEBaseShotPattern.cs.
|
get |
Gets whether the pattern is running on.
Definition at line 123 of file UDEBaseShotPattern.cs.
|
get |
Gets the passed time of the pattern.
Definition at line 115 of file UDEBaseShotPattern.cs.
|
get |
Gets the time limit of the pattern.
Definition at line 121 of file UDEBaseShotPattern.cs.
|
get |
Gets and sets the type the pattern.
Definition at line 117 of file UDEBaseShotPattern.cs.


Store
User Name
ID: 99.999
Balance
99.999.999
Success!
This alert box indicates a successful or positive action.
Danger!
This alert box indicates a negative action.
5 Tokens
$0.99
buy
25 Tokens
$4.99
buy
50 Tokens
$9.99
buy
100 Tokens
$19.99
buy
250 Tokens
$39.99
buy
500 Tokens
$99.99
buy


Weekday Calculator
Determine Day of the Week.
Day
Month
Select Month
January
February
March
April
May
June
July
August
September
October
November
December
Year
Submit
The Day of the Week Is:


{% if page.description %}{% endif %}
This is a personal blog base on github and Jekyll.If you like this template ,you can fork and change it.
My Project
View details »
My accumulation
It's me